joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b8d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x88], 0x6f0053
push edi
mov dword [ebp - 0x84], 0x740066
mov dword [ebp - 0x80], 0x610077
mov dword [ebp - 0x7c], 0x650072
mov dword [ebp - 0x78], 0x4d005c
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x6e0055
mov dword [ebp - 0x30], 0x6e0069
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x6c0061
mov dword [ebp - 0x24], 0x5c006c
mov dword [ebp - 0x20], 0x750048
mov dword [ebp - 0x1c], 0x72006f
mov dword [ebp - 0x18], 0x6e006f
mov dword [ebp - 0x14], 0x530067
mov dword [ebp - 0x10], 0x730079
mov dword [ebp - 0xc], 0x690064
mov dword [ebp - 8], 0x670061
mov word [ebp - 4], ax
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x40ba36
mov eax, dword [ecx]
push 2
push 0x42
call dword [eax]
test eax, eax
je 0x40ba40
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x42
jl 0x40ba2c
mov dword [eax - 0xc], 0x42
xor eax, eax
mov ecx, dword [esi]
push 0x84
mov word [ecx + 0x84], ax
lea eax, [ebp - 0x88]
push eax
push 0x84
push dword [esi]
call fcn.0040a020
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004062a0
push 0x80004005
call fcn.004062a0
call fcn.004092a0
int3

Function at 0x40ba50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
mov dword [ebp - 0x24], 0x360033
push esi
mov dword [ebp - 0x20], 0x450030
mov dword [ebp - 0x1c], 0x74006e
mov dword [ebp - 0x18], 0x6c0043
mov dword [ebp - 0x14], 0x650069
mov dword [ebp - 0x10], 0x74006e
mov dword [ebp - 0xc], 0x65002e
mov dword [ebp - 8], 0x650078
mov word [ebp - 4], ax
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x40baee
mov eax, dword [ecx]
push 2
push 0x10
call dword [eax]
test eax, eax
je 0x40baf8
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x10
jl 0x40bae4
mov dword [eax - 0xc], 0x10
xor eax, eax
mov ecx, dword [esi]
push 0x20
mov word [ecx + 0x20], ax
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [esi]
call fcn.0040a020
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004062a0
push 0x80004005
call fcn.004062a0
call fcn.004092a0
int3
Function at 0x40bd20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x7c], 0x4f0053
mov dword [ebp - 0x78], 0x540046
mov dword [ebp - 0x74], 0x410057
mov dword [ebp - 0x70], 0x450052
mov dword [ebp - 0x6c], 0x4d005c
mov dword [ebp - 0x68], 0x630069
mov dword [ebp - 0x64], 0x6f0072
mov dword [ebp - 0x60], 0x6f0073
mov dword [ebp - 0x5c], 0x740066
mov dword [ebp - 0x58], 0x57005c
mov dword [ebp - 0x54], 0x6e0069
mov dword [ebp - 0x50], 0x6f0064
mov dword [ebp - 0x4c], 0x730077
mov dword [ebp - 0x48], 0x43005c
mov dword [ebp - 0x44], 0x720075
mov dword [ebp - 0x40], 0x650072
mov dword [ebp - 0x3c], 0x74006e
mov dword [ebp - 0x38], 0x650056
mov dword [ebp - 0x34], 0x730072
mov dword [ebp - 0x30], 0x6f0069
mov dword [ebp - 0x2c], 0x5c006e
mov dword [ebp - 0x28], 0x6e0055
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x20], 0x740073
mov dword [ebp - 0x1c], 0x6c0061
mov dword [ebp - 0x18], 0x5c006c
mov dword [ebp - 0x14], 0x700077
mov dword [ebp - 0x10], 0x700073
mov dword [ebp - 0xc], 0x6f0068
mov dword [ebp - 8], 0x6f0074
mov dword [ebp - 4], 0x2b
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x40be5d
mov eax, dword [ecx]
push 2
push 0x3d
call dword [eax]
test eax, eax
je 0x40be67
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x3d
jl 0x40be53
mov dword [eax - 0xc], 0x3d
xor eax, eax
mov ecx, dword [esi]
push 0x7a
mov word [ecx + 0x7a], ax
lea eax, [ebp - 0x7c]
push eax
push 0x7a
push dword [esi]
call fcn.0040a020
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004062a0
push 0x80004005
call fcn.004062a0
call fcn.004092a0
int3
Function at 0x40be70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0xb8], 0x6f0053
push edi
mov dword [ebp - 0xb4], 0x740066
mov dword [ebp - 0xb0], 0x610077
mov dword [ebp - 0xac], 0x650072
mov dword [ebp - 0xa8], 0x4d005c
mov dword [ebp - 0xa4], 0x630069
mov dword [ebp - 0xa0], 0x6f0072
mov dword [ebp - 0x9c], 0x6f0073
mov dword [ebp - 0x98], 0x740066
mov dword [ebp - 0x94], 0x57005c
mov dword [ebp - 0x90], 0x6e0069
mov dword [ebp - 0x8c], 0x6f0064
mov dword [ebp - 0x88], 0x730077
mov dword [ebp - 0x84], 0x43005c
mov dword [ebp - 0x80], 0x720075
mov dword [ebp - 0x7c], 0x650072
mov dword [ebp - 0x78], 0x74006e
mov dword [ebp - 0x74], 0x650056
mov dword [ebp - 0x70], 0x730072
mov dword [ebp - 0x6c], 0x6f0069
mov dword [ebp - 0x68], 0x5c006e
mov dword [ebp - 0x64], 0x6e0055
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x740073
mov dword [ebp - 0x58], 0x6c0061
mov dword [ebp - 0x54], 0x5c006c
mov dword [ebp - 0x50], 0x44007b
mov dword [ebp - 0x4c], 0x390038
mov dword [ebp - 0x48], 0x350031
mov dword [ebp - 0x44], 0x300035
mov dword [ebp - 0x40], 0x2d0042
mov dword [ebp - 0x3c], 0x430041
mov dword [ebp - 0x38], 0x450046
mov dword [ebp - 0x34], 0x34002d
mov dword [ebp - 0x30], 0x390037
mov dword [ebp - 0x2c], 0x2d0037
mov dword [ebp - 0x28], 0x330042
mov dword [ebp - 0x24], 0x380036
mov dword [ebp - 0x20], 0x42002d
mov dword [ebp - 0x1c], 0x460043
mov dword [ebp - 0x18], 0x340043
mov dword [ebp - 0x14], 0x340033
mov dword [ebp - 0x10], 0x420042
mov dword [ebp - 0xc], 0x420045
mov dword [ebp - 8], 0x7d0031
mov word [ebp - 4], ax
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x40c04e
mov eax, dword [ecx]
push 2
push 0x5a
call dword [eax]
test eax, eax
je 0x40c058
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x5a
jl 0x40c044
mov dword [eax - 0xc], 0x5a
xor eax, eax
mov ecx, dword [esi]
push 0xb4
mov word [ecx + 0xb4], ax
lea eax, [ebp - 0xb8]
push eax
push 0xb4
push dword [esi]
call fcn.0040a020
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004062a0
push 0x80004005
call fcn.004062a0
call fcn.004092a0
int3
Function at 0x40c0e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x7c], 0x6f0053
mov dword [ebp - 0x78], 0x740066
mov dword [ebp - 0x74], 0x610077
mov dword [ebp - 0x70], 0x650072
mov dword [ebp - 0x6c], 0x4d005c
mov dword [ebp - 0x68], 0x630069
mov dword [ebp - 0x64], 0x6f0072
mov dword [ebp - 0x60], 0x6f0073
mov dword [ebp - 0x5c], 0x740066
mov dword [ebp - 0x58], 0x57005c
mov dword [ebp - 0x54], 0x6e0069
mov dword [ebp - 0x50], 0x6f0064
mov dword [ebp - 0x4c], 0x730077
mov dword [ebp - 0x48], 0x43005c
mov dword [ebp - 0x44], 0x720075
mov dword [ebp - 0x40], 0x650072
mov dword [ebp - 0x3c], 0x74006e
mov dword [ebp - 0x38], 0x650056
mov dword [ebp - 0x34], 0x730072
mov dword [ebp - 0x30], 0x6f0069
mov dword [ebp - 0x2c], 0x5c006e
mov dword [ebp - 0x28], 0x6e0055
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x20], 0x740073
mov dword [ebp - 0x1c], 0x6c0061
mov dword [ebp - 0x18], 0x5c006c
mov dword [ebp - 0x14], 0x6f0048
mov dword [ebp - 0x10], 0x65006e
mov dword [ebp - 0xc], 0x760079
mov dword [ebp - 8], 0x650069
mov dword [ebp - 4], 0x77
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x40c21d
mov eax, dword [ecx]
push 2
push 0x3d
call dword [eax]
test eax, eax
je 0x40c227
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x3d
jl 0x40c213
mov dword [eax - 0xc], 0x3d
xor eax, eax
mov ecx, dword [esi]
push 0x7a
mov word [ecx + 0x7a], ax
lea eax, [ebp - 0x7c]
push eax
push 0x7a
push dword [esi]
call fcn.0040a020
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004062a0
push 0x80004005
call fcn.004062a0
call fcn.004092a0
int3
Function at 0x40ca10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b71b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x557460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x55d59c]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x40cbcd
push 0x517a44
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x55d59c], eax
test eax, eax
jne 0x40cbcd
push eax
push 0x104
lea ecx, [ebp - 0x230]
call fcn.00405030
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
test ecx, ecx
jne 0x40cacc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00405600
jmp 0x40cbb2
mov eax, dword [ebp - 0x220]
cmp ecx, eax
ja 0x40caf8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], ecx
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x40cb08
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409780
movups xmm0, xmmword [ebp - 0x230]
xor eax, eax
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.00405600
cmp dword [ebp - 0x238], 0
jbe 0x40cbb2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d49e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x517a44
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x55d59c], eax
lea ecx, [ebp - 0x248]
call fcn.00405600
mov eax, dword [0x55d59c]
test eax, eax
jne 0x40cbcd
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044042c
mov esp, ebp
pop ebp
ret
Function at 0x40d2e0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bae6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x557460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x40d31c
xor eax, eax
jmp 0x40d385
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004d49e0
add esp, 0xc
call fcn.0040da50
push str.QuickSeeTray.exe
test al, al
lea eax, [ebp - 0x218]
push esi
push eax
je 0x40d3a1
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x21c]
call fcn.0040eaa0
push edi
push ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
push 0x517cb0
lea ecx, [ebp - 0x21c]
call fcn.004101c0
lea ecx, [ebp - 0x21c]
mov ebx, eax
call fcn.0040f6a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044042c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d383
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x40d4bd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
test edi, edi
je 0x40d40f
push edi
push eax
lea eax, [ebp - 0x21c]
push 0x517d24
push eax
call fcn.0040d5e0
add esp, 0x10
jmp 0x40d424
push eax
lea eax, [ebp - 0x21c]
push 0x517d34
push eax
call fcn.0040d5e0
add esp, 0xc
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x40d445
push edi
lea ecx, [ebp - 0x21c]
call fcn.0040d560
mov esi, dword [ebp - 0x21c]
lea eax, [edi + edi]
push eax
push esi
push 1
push 0
push 0x517cb0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esi - 8]
mov ebx, eax
push esi
call fcn.004db495
add esp, 8
test eax, eax
js 0x40d4b3
cmp eax, dword [esi - 8]
jg 0x40d4b3
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40d383
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40d383
push 0x80070057
call fcn.004062a0
push 0x80004005
call fcn.004062a0
int3
Function at 0x40dea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40def9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40def9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40deea
cmp esi, edx
jae 0x40def9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40ded8
cmp esi, edx
jae 0x40def9
cmp word [esi], 0
je 0x40def9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x414380
Capabilities:
Check if file exists
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1062c
call fcn.00440560
mov eax, dword [0x557460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x414]
xor esi, esi
push eax
push 0x5560ac
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp dword [0x5560c0], esi
je 0x414452
push ebx
push str.ntdll.dll
mov dword [ebp - 0x10628], esi
xor ebx, ebx
mov dword [ebp - 0x1062c], esi
mov dword [ebp - 0x10624], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41444b
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41441b
lea ecx, [ebp - 0x10624]
push ecx
lea ecx, [ebp - 0x1062c]
push ecx
lea ecx, [ebp - 0x10628]
push ecx
call eax
movzx eax, word [ebp - 0x10624]
lea ebx, [esi + 1]
mov dword [ebp - 0x10624], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x41444b
mov eax, dword [ebp - 0x10628]
cmp eax, 6
jne 0x41443c
cmp dword [ebp - 0x1062c], 4
je 0x414441
jmp 0x41444b
cmp eax, 0xa
jb 0x41444b
mov dword [0x55d93c], 1
mov dword [0x5560c0], esi
pop ebx
cmp dword [0x55d93c], esi
je 0x414466
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov eax, str.SOFTWAREClassesCLSID_sInprocServer32
jmp 0x414470
mov edi, SysReAllocString
mov eax, str.CLSID_sInprocServer32
lea ecx, [ebp - 0x414]
push ecx
push eax
lea eax, [ebp - 0x620]
push 0x104
push eax
call fcn.00414d70
add esp, 0x10
call fcn.004145b0
movzx eax, al
lea ecx, [ebp - 0x1062c]
neg eax
mov dword [ebp - 0x1062c], esi
push ecx
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push 0
lea eax, [ebp - 0x620]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41459a
mov edi, dword [ebp - 0x1062c]
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004d49e0
add esp, 0xc
mov dword [ebp - 0x10628], 0x208
lea eax, [ebp - 0x10628]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x10624]
push eax
push 0
push 0x5179ac
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41458f
mov eax, dword [ebp - 0x10624]
cmp eax, 1
je 0x414524
cmp eax, 2
jne 0x41458f
mov eax, dword [ebp - 0x10628]
test eax, eax
je 0x414540
test al, 1
jne 0x41458f
shr eax, 1
cmp word [ebp + eax*2 - 0x20e], si
je 0x414549
jmp 0x41458f
xor eax, eax
mov word [ebp - 0x20c], ax
push 0xfffe
lea eax, [ebp - 0x10620]
push 0
push eax
call fcn.004d49e0
add esp, 0xc
lea eax, [ebp - 0x10620]
push 0x7ffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x10620]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
test edi, edi
je 0x41459a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0044042c
mov esp, ebp
pop ebp
ret
Function at 0x4146b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c3db
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x557460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d49e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x5187b4
push eax
call esi
call fcn.004145b0
test al, al
mov edx, str.QsShell.dll
mov ecx, str.QsShell64.dll
lea eax, [ebp - 0x218]
cmove ecx, edx
push ecx
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414880
mov eax, dword [0x55d56c]
test al, 1
jne 0x414799
or eax, 1
mov dword [0x55d56c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x516050
mov dword [0x55d560], 0x5179b4
mov dword [0x55d564], eax
mov byte [0x55d568], 0
call fcn.00440417
mov eax, dword [0x55d56c]
add esp, 4
test al, 2
jne 0x4147f5
or eax, 2
mov dword [0x55d570], 0x5179cc
mov dword [0x55d56c], eax
xor eax, eax
push 0x516080
mov dword [0x55d574], 0x55d560
mov dword [0x55d584], 2
mov dword [0x55d57c], 0
mov dword [0x55d580], 0
mov dword [0x55d588], eax
mov dword [0x55d578], 0x55d570
call fcn.00440417
add esp, 4
mov eax, dword [0x55d570]
mov ecx, 0x55d570
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, str._u__s___s_
mov dword [ebp - 4], 0
mov eax, 0x517d24
cmove eax, ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040d5e0
mov esi, dword [ebp - 0x21c]
push 0
push 0
push 0
push 0x1388
push 1
push 0
push esi
push str.regsvr32.exe
push 0
call fcn.004379f0
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41487b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044042c
mov esp, ebp
pop ebp
ret 4
Function at 0x415c70
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c639
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x557460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], esi
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x415ddd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x415de7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x415d4b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d49e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5188c4
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.0040dd50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d49e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x517cb0
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415da2
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x5188c4
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 4]
call fcn.0040dd50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044042c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004062a0
push 0x80004005
call fcn.004062a0
int3

Function at 0x415e00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c678
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x557460]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], esi
xorps xmm0, xmm0
push dword [ecx]
movups xmmword [ebp - 0x30], xmm0
push 0xf
push eax
push 0x5189cc
push str.ActiveCreatShortcut
push str.Default
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00407790
mov ecx, eax
test ecx, ecx
je 0x415eb0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x415e8c
movzx eax, ax
push eax
call fcn.0040db00
jmp 0x415e92
push eax
call fcn.0040dd50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044042c
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004062a0
int3