joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409940
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4567a0]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x104
lea eax, [esp + 0x10]
push 0
push eax
mov edi, ecx
mov dword [esp + 0x10], 1
call fcn.0042af00
mov edi, dword [edi]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push esi
push edi
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4099d5
lea eax, [esp + 0xc]
mov edx, ebx
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4099a4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00429384
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00429384
add esp, 0x214
ret

Function at 0x4099f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4567a0]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
push edi
mov edi, dword [eax]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push str.InstallDate
push edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409a83
lea eax, [esp + 0xc]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x409a50
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00429384
add esp, 0x214
ret 4
mov ecx, dword [esp + 0x214]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00429384
add esp, 0x214
ret 4

Function at 0x409aa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4567a0]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
push esi
mov esi, dword [ecx]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xc]
push ecx
push 0
push eax
push esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409b0f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00429384
add esp, 0x110
ret 4
mov ecx, dword [esp + 0x110]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00429384
add esp, 0x110
ret 4
Function at 0x40aaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442c28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x4567a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], vtable.CRgn.0
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowRgn]
push esi
call edi
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld qword [0x44b938]
fadd st(1), st(0)
fxch st(1)
call fcn.0042e980
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
faddp st(1)
call fcn.0042e980
push 0xa
push 0xa
push ebx
push eax
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x14]
call fcn.004136b5
mov eax, dword [esp + 0x14]
push 1
push eax
push esi
call edi
lea ecx, [esp + 0x10]
call fcn.004136de
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CRgn.0
call fcn.00402e10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x41066a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4106a3
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040b420
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00406110
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x412186
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4121c9
call fcn.00415907
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4121c9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4121e4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00411d40
test ebx, ebx
mov esi, eax
je 0x4121e2
test edi, edi
je 0x4121e2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x415da6
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x415daf
xor eax, eax
jmp 0x415e18
cmp dword [esp + 8], 0
jne 0x415dbb
call fcn.00413a16
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0042d6ce
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x415df6
push dword [esi + 0x10]
call fcn.0042d3d4
test eax, eax
pop ecx
jne 0x415df6
mov esi, dword [esi + 0xc]
call fcn.0042a9f5
push esi
push dword [eax]
push 1
call fcn.004165c5
push dword [esi + 0x10]
call fcn.0042d403
test eax, eax
pop ecx
je 0x415e15
push dword [esi + 0x10]
call fcn.0042d328
push eax
call fcn.00402170
pop ecx
pop ecx
jmp 0x415de4
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x415e21
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x415e2b
call fcn.00413a16
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0042d848
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x415e58
mov esi, dword [esi + 0xc]
call fcn.0042a9f5
push esi
push dword [eax]
push 1
call fcn.004165c5
pop esi
ret 8
Function at 0x416ad9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4567a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x416b16
push 0x445f78
push 4
push eax
call fcn.0042cb3b
push eax
call fcn.00402170
add esp, 0x10
jmp 0x416b28
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x416b93
push edi
call fcn.0042a9e2
mov edi, dword [eax]
call fcn.0042a9e2
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0042a7d2
add esp, 0x18
mov ebx, eax
call fcn.0042a9e2
cmp dword [eax], 0
je 0x416b73
call fcn.0042a9e2
push dword [eax]
call fcn.0040ce82
pop ecx
jmp 0x416b7a
call fcn.0042a9e2
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x416b93
cmp ebx, esi
jae 0x416b93
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x416b95
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00429384
leave
ret
Function at 0x418495
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4184db
call fcn.00415907
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4184db
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41851e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x418507
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x418507
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41851b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41ade8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41ae16
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ae34
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041ad52
jmp 0x41ae34
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41ae34
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041ad52
test edi, edi
mov eax, edi
jne 0x41ae1e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x459a08]
test ecx, ecx
je 0x41aef7
jmp 0x41ade7
ret 8

Function at 0x429384
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4567a0]
jne 0x42938e
repz ret
jmp fcn.00430408

Function at 0x429c0d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x429c3a
call fcn.0042a9f5
mov dword [eax], esi
call fcn.0042a9e2
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004310f6
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x429c16
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x429c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042aa08
pop ecx
call fcn.0042a9e2
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x429c90
test al, 1
je 0x429c90
test byte [esp + 0xc], 2
je 0x429c90
call fcn.0042a9f5
mov dword [eax], 5
call fcn.0042a9e2
mov dword [eax], 0xd
jmp 0x429c60
xor eax, eax
pop esi
ret
Function at 0x42d432
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x42d46f
cmp dword [ebp + 0x14], edi
je 0x42d46f
cmp ecx, edi
jne 0x42d476
call fcn.0042a9e2
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004310f6
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x42d48a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x42d4ab
cmp ebx, 0xffffffff
je 0x42d49a
push ebx
push edi
push ecx
call fcn.0042af00
add esp, 0xc
cmp esi, edi
je 0x42d457
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x42d457
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x42d4c7
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x42d4ce
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x42d5bf
test word [esi + 0xc], 0x10c
je 0x42d522
mov eax, dword [esi + 4]
test eax, eax
je 0x42d522
jl 0x42d620
cmp ebx, eax
mov edi, ebx
jb 0x42d4f3
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x42d5c7
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00429400
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x42d5b7
cmp ebx, dword [ebp - 0xc]
jb 0x42d58f
cmp dword [ebp - 0xc], 0
je 0x42d54c
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x42d541
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x42d548
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x42d557
mov eax, SysReAllocString
cmp ebx, eax
ja 0x42d557
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x42d5f3
push eax
push dword [ebp - 8]
push esi
call fcn.0042d087
pop ecx
push eax
call fcn.004394ac
add esp, 0xc
test eax, eax
je 0x42d632
cmp eax, 0xffffffff
je 0x42d620
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x42d5b7
push esi
call fcn.00435ce4
cmp eax, 0xffffffff
pop ecx
je 0x42d624
cmp dword [ebp - 4], 0
je 0x42d5f3
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x42d4d6
mov eax, dword [ebp + 0x14]
jmp 0x42d471
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x42d5de
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042af00
add esp, 0xc
call fcn.0042a9e2
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x42d467
cmp dword [ebp + 0xc], 0xffffffff
je 0x42d609
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042af00
add esp, 0xc
call fcn.0042a9e2
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x42d467
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x42d471
or dword [esi + 0xc], 0x10
jmp 0x42d624
Function at 0x42f117
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4567d0]
je 0x42f132
inc edi
cmp edi, 0x17
jb 0x42f123
cmp edi, 0x17
jae 0x42f2b2
push ebp
push 3
call fcn.0043b492
cmp eax, 1
pop ecx
je 0x42f27e
push 3
call fcn.0043b492
test eax, eax
pop ecx
jne 0x42f166
cmp dword [0x45658c], 1
je 0x42f27e
cmp ebx, 0xfc
je 0x42f2b1
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x459d30
push ebp
call fcn.0043b42d
add esp, 0xc
test eax, eax
je 0x42f19c
push esi
push esi
push esi
push esi
push esi
call fcn.00430ffa
add esp, 0x14
push 0x104
mov esi, 0x459d49
push esi
push 0
mov byte [0x459e4d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42f1e0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043b42d
add esp, 0xc
test eax, eax
je 0x42f1e0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00430ffa
add esp, 0x14
push esi
call fcn.00435e10
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42f225
push esi
call fcn.00435e10
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45a044
push 0x4484ec
sub ecx, eax
push ecx
push eax
call fcn.0043b37a
add esp, 0x14
test eax, eax
je 0x42f225
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00430ffa
add esp, 0x14
jmp 0x42f227
xor esi, esi
push 0x4484e8
push ebx
push ebp
call fcn.0043b309
add esp, 0xc
test eax, eax
je 0x42f247
push esi
push esi
push esi
push esi
push esi
call fcn.00430ffa
add esp, 0x14
push dword [edi*8 + 0x4567d4]
push ebx
push ebp
call fcn.0043b309
add esp, 0xc
test eax, eax
je 0x42f269
push esi
push esi
push esi
push esi
push esi
call fcn.00430ffa
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043b14c
add esp, 0xc
jmp 0x42f2b1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42f2b1
cmp ebp, 0xffffffff
je 0x42f2b1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4567d4]
push dword [esi]
call fcn.00435e10
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43b14c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042fcdb
xor ebx, ebx
cmp dword [0x45a834], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43b222
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43b302
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43b302
push eax
call fcn.0042fc6d
mov dword [esp], 0x4487f0
push edi
mov dword [0x45a834], eax
call esi
push eax
call fcn.0042fc6d
mov dword [esp], 0x4487dc
push edi
mov dword [0x45a838], eax
call esi
push eax
call fcn.0042fc6d
mov dword [0x45a83c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042dfc6
test eax, eax
pop ecx
pop ecx
je 0x43b1f0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00430ffa
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43b222
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042fc6d
cmp eax, ebx
pop ecx
mov dword [0x45a844], eax
je 0x43b222
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042fc6d
pop ecx
mov dword [0x45a840], eax
mov eax, dword [0x45a840]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43b2a7
cmp dword [0x45a844], ecx
je 0x43b2a7
push eax
call fcn.0042fce4
push dword [0x45a844]
mov esi, eax
call fcn.0042fce4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43b2a7
cmp edi, ebx
je 0x43b2a7
call esi
cmp eax, ebx
je 0x43b274
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b274
test byte [ebp - 0x18], 1
jne 0x43b2a7
lea eax, [ebp - 0x10]
push eax
call fcn.0042dffd
test eax, eax
pop ecx
je 0x43b28f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00430ffa
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43b29e
or dword [ebp + 0x10], 0x200000
jmp 0x43b2e2
or dword [ebp + 0x10], 0x40000
jmp 0x43b2e2
mov eax, dword [0x45a838]
cmp eax, dword [ebp - 8]
je 0x43b2e2
push eax
call fcn.0042fce4
cmp eax, ebx
pop ecx
je 0x43b2e2
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43b2e2
mov eax, dword [0x45a83c]
cmp eax, dword [ebp - 8]
je 0x43b2e2
push eax
call fcn.0042fce4
cmp eax, ebx
pop ecx
je 0x43b2e2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45a834]
call fcn.0042fce4
cmp eax, ebx
pop ecx
je 0x43b302
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b304
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44102c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4567a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00440fc1
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042af00
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44107b
cmp dword [ebp - 0x1c], 5
jb 0x441093
jmp 0x44108f
cmp dword [ebp - 0x10], 1
jne 0x441093
cmp dword [ebp - 0x1c], 4
ja 0x44108f
jne 0x441093
cmp dword [ebp - 0x18], 0
jbe 0x441093
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44a158
call fcn.00440e95
test eax, eax
jge 0x4410b4
mov byte [0x45aa34], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00429384
add ebp, 0x78
leave
ret
Function at 0x100e8e7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push dword [esi + 0xc]
xor edi, edi
mov dword [esi + 0x3c], edi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x100e93c
lea eax, [ebp - 4]
push eax
push edi
push dword [esi + 0xc]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jl 0x100e93c
push edi
push edi
push edi
push 0x100e940
push edi
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x104d646
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
mov dword [esi + 0x3c], 1
jmp 0x100e933

Function at 0x100fec1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push 0x40000069
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x106099c
lea eax, [ebp - 4]
push eax
add esi, 0x24
push esi
push 0
push 0x100f688
push 0x100f598
push SHChangeNotifyRegister
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100ff0d
mov dword [esi], 0xa
pop esi
leave
ret
and dword [esi + 0x24], 0
jmp 0x100ff0d
Function at 0x103102d
Capabilities:
Terminate process

Disassembly:
call fcn.01030edb
push 0x5c
push 0x1031168
call fcn.01032ea4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10b22cc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x105cc02
xor esi, esi
inc esi
mov eax, dword [0x10b1178]
cmp eax, esi
je 0x105cc21
mov eax, dword [0x10b1178]
test eax, eax
jne 0x10311bd
mov dword [0x10b1178], esi
push 0x1031160
push 0x1031154
call fcn.01031004
pop ecx
pop ecx
test eax, eax
jne 0x105ccdb
mov eax, dword [0x10b1178]
cmp eax, esi
jne 0x10310e0
push 0x1031150
push 0x1031124
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10b1178], 2
cmp dword [ebp - 0x20], ebx
jne 0x10310ed
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10b3abc], ebx
jne 0x105cc2e
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x105ccdb
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
jbe 0x1031190
cmp cx, 0x22
je 0x105cc78
inc eax
inc eax
jmp 0x1031108
cmp cx, bx
jne 0x10311c8
movzx ecx, word [eax]
cmp cx, bx
jne 0x105cc50
test byte [ebp - 0x40], 1
je 0x10311d2
movzx ecx, word [ebp - 0x3c]
push ecx
push eax
push ebx
push 0x1000000
call fcn.01024fcc
jmp 0x105cc64
mov dword [0x10b3ea0], esi
jmp 0x10310bc
cmp dword [ebp - 0x1c], ebx
je 0x1031195
jmp 0x1031114
push 0xa
pop ecx
jmp 0x10311ab
cmp eax, esi
jne 0x105cc11
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1031083
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x103106f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10310bc
push 0x10b3abc
call fcn.0107be14
pop ecx
test eax, eax
je 0x10310f9
push ebx
push 2
push ebx
call dword [0x10b3abc]
jmp 0x10310f9
cmp cx, 0x20
ja 0x10311a1
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1031195
mov dword [0x10b3e9c], eax
cmp dword [0x10b1120], ebx
jne 0x105ccb8
push eax
call dword [sym.imp.msvcrt.dll_exit]
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x103111e
cmp dword [0x10b3ea0], ebx
jne 0x105ccc6
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10b3e9c]
jmp 0x105cce7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01032694
ret
Function at 0x10326ad
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov edx, eax
test edx, edx
je 0x10326de
cmp word [edx], 0
jne 0x1055044
call fcn.01030cb5
test eax, eax
je 0x1055087
call fcn.01025639
test eax, eax
jne 0x1032710
call fcn.0103271c
test eax, eax
jne 0x1032710
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret
push 5
jmp 0x1055089
push 2
pop ebx
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push edx
call fcn.012dee29
test eax, eax
je 0x1032700
push esi
push 4
pop ecx
mov edi, 0x100d864
lea esi, [ebp - 0x14]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
pop esi
je 0x1055079
push 4
pop ebx
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x1032700
push 2
pop ebx
jmp 0x1032700