joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42df79
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x42df97
mov ecx, esi
call fcn.0042ddc7
pop esi
pop ebp
ret 4

Function at 0x42e8d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
lea edi, [eax + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
je 0x42ea5d
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x42ea5c
cmp dword [0x4866bc], esi
je 0x42ea5c
mov eax, dword [0x4866c4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4866bc], esi
test al, 1
jne 0x42e942
or eax, 1
mov dword [0x4866c4], eax
call ebx
mov dword [0x4866c0], eax
call ebx
mov ecx, eax
sub ecx, dword [0x4866c0]
cmp byte [0x48454b], 0
mov dword [0x4866c0], eax
jne 0x42e963
cmp ecx, 0x64
jb 0x42ea5b
push 0xa
pop eax
push 0x14
pop ecx
cmp esi, 0x100000
cmovg eax, ecx
imul esi, esi, 0xa
movzx eax, ax
mov cl, al
mov dword [ebp - 0xa0], eax
push 0
lea eax, [ebp - 0x95]
sar esi, cl
push eax
lea ecx, [ebp - 0x34]
mov byte [0x48454b], 0
mov dword [ebp - 0x34], 0x471efc
mov dword [ebp - 0xc], 0x46cf9c
call fcn.004033a0
lea eax, [ebp - 0x64]
push 0x758
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040a3d7
lea ebx, [eax + 4]
cmp dword [ebx + 0x14], 8
jb 0x42e9ca
mov ebx, dword [ebx]
push 0x14
xor eax, eax
pop ecx
cmp word [ebp - 0xa0], cx
mov ecx, edi
setne al
add eax, 0x652
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040a3d7
lea ecx, [eax + 4]
cmp dword [ecx + 0x14], 8
jb 0x42e9ff
mov ecx, dword [ecx]
push 0xa
mov eax, esi
pop esi
xor edx, edx
div esi
push ebx
push ecx
push edx
push eax
lea eax, [ebp - 0x34]
push str._01d._01d__s_s
push eax
call fcn.0040ad35
add esp, 0x18
lea ecx, [ebp - 0x94]
call fcn.00401500
lea ecx, [ebp - 0x64]
call fcn.00401500
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x9c]
push 0x134
push dword [eax + 0x26c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [ebp - 0x34]
call fcn.00401500
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0043e8f7
leave
ret 8

Function at 0x42f2b6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f2d1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x431200
Capabilities:
Write file on windows

Disassembly:
push 0x88
mov eax, 0x466cc9
call fcn.0043fcc0
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ebx, ebx
push 0
inc ebx
cmp eax, 0xffffffff
lea ecx, [ebp - 0x94]
push ecx
cmove eax, ebx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x431278
push eax
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004064e5
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.004128ec
push 0x47bd24
lea eax, [ebp - 0x90]
push eax
call fcn.0043e906
mov eax, dword [ebp - 0x94]
call fcn.0043fc6f
ret 8

Function at 0x431286
Capabilities:
Write file on windows

Disassembly:
push 0x88
mov eax, 0x466cc9
call fcn.0043fcc0
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 4
pop ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
lea ecx, [ebp - 0x94]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4312ff
push eax
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004064e5
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.004128ec
push 0x47bd24
lea eax, [ebp - 0x90]
push eax
call fcn.0043e906
mov eax, dword [ebp - 0x94]
call fcn.0043fc6f
ret 8

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

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x431cda
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret
Function at 0x431eae
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x148
mov eax, 0x466eb0
call fcn.0043fcc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 0x154], ebx
mov byte [ebp - 0x114], bl
call fcn.0043e970
add esp, 0xc
mov dword [ebp - 0x14c], ebx
lea eax, [ebp - 0x14c]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x431f9d
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ecx, str.ProgramFilesDir
push ebx
mov eax, str.CommonFilesDir
cmp edi, 1
cmovne eax, ecx
push eax
push dword [ebp - 0x14c]
mov dword [ebp - 0x150], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea eax, [ebp - 0x145]
push eax
lea eax, [ebp - 0x114]
mov edi, 0x471efc
mov ebx, 0x46cf9c
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x11c], ebx
call fcn.00411d7d
push 0x46b7a8
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.00408b97
lea ecx, [ebp - 0x144]
call fcn.00432254
lea eax, [ebp - 0x144]
jmp 0x431fe2
push 0
lea eax, [ebp - 0x145]
push eax
lea eax, [ebp - 0x114]
mov edi, 0x471efc
mov ebx, 0x46cf9c
push eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x11c], ebx
call fcn.00411d7d
push 0x46b7a8
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.00408b97
push 0
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x28], ebx
call fcn.004064e5
lea ecx, [ebp - 0x144]
call fcn.00401500
lea ecx, [ebp - 0x14c]
call fcn.0042b5ab
mov eax, esi
call fcn.0043fc6f
ret
Function at 0x432add
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x467013
call fcn.0043fcc0
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x71]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], 0x471efc
mov dword [ebp - 0x48], 0x46cf9c
call fcn.004033a0
mov edi, 0x104
lea eax, [ebp - 0x80]
push edi
lea ecx, [ebp - 0x70]
push eax
mov dword [ebp - 4], ebx
call fcn.0043458e
cmp dword [ebp + 0xc], 1
jne 0x432b95
mov ecx, dword [eax]
mov byte [ebp - 4], 1
mov byte [eax + 4], 1
call fcn.004076cf
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x80]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.00406b57
inc bl
je 0x432b6e
lea ecx, [ebp - 0x2c]
call fcn.00408b23
push 0x479404
lea eax, [ebp - 0x2c]
push eax
call fcn.0043e906
push 0
lea eax, [ebp - 0x71]
push eax
push str.sysnative
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004065d0
mov byte [ebp - 4], 2
jmp 0x432bee
cmp dword [ebp + 0xc], 2
jne 0x432c08
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.004076cf
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x80]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.00406b57
inc bl
jne 0x432b58
push 0
lea eax, [ebp - 0x71]
push eax
push str.syswow64
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004065d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00432ef1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00401500
jmp 0x432c3a
mov ecx, dword [eax]
mov byte [ebp - 4], 5
mov byte [eax + 4], 1
call fcn.004076cf
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x80]
sbb bl, bl
mov byte [ebp - 4], 0
call fcn.00406b57
inc bl
jne 0x432b58
push 0x46b7a8
lea ecx, [ebp - 0x70]
call fcn.004254d1
push 0
push eax
mov ecx, esi
mov dword [esi], 0x471efc
mov dword [esi + 0x28], 0x46cf9c
call fcn.004064e5
lea ecx, [ebp - 0x70]
call fcn.00401500
mov eax, esi
call fcn.0043fc6f
ret
Function at 0x432f5a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x432fdf
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x432fd8
mov ecx, dword [edi]
test ecx, ecx
je 0x432fd3
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x432fc9
cmp edx, 2
jbe 0x432fbb
cmp edx, 7
jne 0x432fc9
test cl, 1
jne 0x432fc9
shr ecx, 1
cmp ecx, 1
jb 0x432fc9
cmp word [esi + ecx*2 - 2], bx
jne 0x432fc9
cmp ecx, 1
jbe 0x432fd8
cmp word [esi + ecx*2 - 4], bx
jmp 0x432fc7
test cl, 1
jne 0x432fc9
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x432fd8
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x432fd8
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push 0x80004005
call fcn.004064cd
int3
Function at 0x433a4b
Capabilities:
Check if file exists

Disassembly:
push 0xc8
mov eax, 0x46716f
call fcn.0043fcc0
xor ebx, ebx
test byte [ebp + 0x38], 0x10
mov dword [ebp - 4], ebx
je 0x433aa9
lea ecx, [ebp + 8]
call fcn.0041fc5f
test al, al
je 0x433aa9
push dword [ebp + 0x38]
lea eax, [ebp + 8]
sub esp, 0x30
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x471efc
mov dword [ecx + 0x28], 0x46cf9c
call fcn.004064e5
call fcn.00433c2e
add esp, 0x34
mov bl, al
lea ecx, [ebp + 8]
call fcn.00401500
mov al, bl
jmp 0x433c28
sub esp, 0x30
mov ecx, esp
push ebx
lea eax, [ebp + 8]
push eax
mov dword [ecx], 0x471efc
mov dword [ecx + 0x28], 0x46cf9c
call fcn.004064e5
call fcn.004345a9
add esp, 0x30
cmp eax, 0xffffffff
je 0x433aea
test byte [ebp + 0x38], 4
je 0x433adc
test al, 0x10
je 0x433ae6
test byte [ebp + 0x38], 8
je 0x433a9a
test al, 0x10
je 0x433a9a
mov bl, 1
jmp 0x433a9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x433c1e
cmp esi, 3
je 0x433c1e
cmp esi, 5
jne 0x433bd2
lea ecx, [ebp - 0xcc]
call fcn.00432d4c
or dword [ebp - 0xd0], 0xffffffff
lea eax, [ebp - 0xcc]
push eax
sub esp, 0x30
mov ecx, esp
push ebx
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
mov dword [ecx], 0x471efc
mov dword [ecx + 0x28], 0x46cf9c
call fcn.004064e5
call fcn.004344da
mov esi, eax
add esp, 0x34
cmp esi, 0xffffffff
je 0x433ba9
lea ecx, [ebp - 0xd0]
call fcn.0041eb6e
test byte [ebp + 0x38], 4
mov dword [ebp - 0xd0], esi
je 0x433b75
test byte [ebp - 0xcc], 0x10
je 0x433b84
test byte [ebp + 0x38], 8
je 0x433b86
test byte [ebp - 0xcc], 0x10
je 0x433b86
mov bl, 1
lea ecx, [ebp - 0xd0]
call fcn.0041eb6e
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0xa0]
call fcn.00401500
jmp 0x433a9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd0]
mov esi, eax
call fcn.0041eb6e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00401500
lea ecx, [ebp - 0xa0]
call fcn.00401500
test byte [ebp + 0x38], 0x20
je 0x433a9a
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004064e5
push 1
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00412950
push 0x47bd24
lea eax, [ebp - 0x90]
push eax
call fcn.0043e906
lea ecx, [ebp + 8]
call fcn.00401500
xor al, al
call fcn.0043fc6f
ret
Function at 0x434f66
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x471c04
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x434f9c
push 0x471c20
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434f9c
call eax
jmp 0x435051
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x14]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str..DefaultControl_PaneldesktopResourceLocale
push SysReAllocStringLen
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0xa
call esi
test eax, eax
jne 0x434fe6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push 0x4767e0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x435032
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push ebx
push str..DEFAULTControl_PanelInternational
push SysReAllocStringLen
mov dword [ebp - 0x18], ebx
call esi
mov esi, eax
test esi, esi
jne 0x43501f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push str.Locale
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.0042b5ab
test esi, esi
je 0x435032
mov esi, 0x409
jmp 0x435044
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0044244c
add esp, 0xc
movzx esi, ax
lea ecx, [ebp - 0x14]
call fcn.0042b5ab
mov ax, si
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e8f7
leave
ret
Function at 0x43544d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax], ebx
lea eax, [ebp - 0x118]
push eax
mov dword [esi], ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 1
jne 0x4354df
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4354d2
cmp eax, 0xa
je 0x4354b1
cmp eax, 0x5a
jne 0x4354a4
mov bl, 1
mov dword [esi], 0x80
mov al, bl
jmp 0x435597
call fcn.00435a50
test al, al
mov al, 1
je 0x4354c7
mov dword [esi], 0x80
jmp 0x435597
mov dword [esi], 0x40
jmp 0x435597
mov dword [esi], 0x10
mov al, 1
jmp 0x435597
cmp dword [ebp - 0x108], 2
jne 0x435595
mov eax, dword [ebp - 0x114]
sub eax, 4
je 0x43558a
dec eax
je 0x435555
dec eax
je 0x43551c
sub eax, 4
jne 0x435514
cmp dword [ebp - 0x110], ebx
jne 0x435595
mov bl, 1
mov dword [esi], 0x10000000
jmp 0x4354aa
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x43552e
mov dword [esi], 0x1000000
jmp 0x4354d8
cmp eax, 1
jne 0x43553b
mov dword [esi], 0x2000000
jmp 0x4354d8
cmp eax, 2
jne 0x435548
mov dword [esi], 0x4000000
jmp 0x4354d8
cmp eax, 3
jne 0x435595
mov dword [esi], 0x8000000
jmp 0x4354d8
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x43556a
mov dword [esi], 0x100000
jmp 0x4354d8
cmp eax, 1
jne 0x43557a
mov dword [esi], 0x400000
jmp 0x4354d8
cmp eax, 2
jne 0x435595
mov dword [esi], 0x800000
jmp 0x4354d8
mov dword [esi], 0x10000
jmp 0x4354d8
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e8f7
leave
ret
Function at 0x435f2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x38
mov eax, 0x462f4a
call fcn.0043fcc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push dword [eax]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
and esi, 0xf
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x435f56
mov al, 1
jmp 0x435f72
xor ecx, ecx
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x435f6a
cmp ecx, esi
je 0x435f78
lea eax, [eax + edx*2]
inc ecx
cmp ecx, 0x10
jl 0x435f58
xor al, al
call fcn.0043fc6f
ret
push 1
lea ecx, [ebp - 0x41]
push ecx
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.004067f6
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00406bc5
lea ecx, [ebp - 0x40]
call fcn.00401500
jmp 0x435f52

Function at 0x4362e9
Capabilities:
Enumerate process modules

Disassembly:
push 0x4a0
mov eax, 0x467759
call fcn.0043fcc0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x484]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
call sub.PSAPI.DLL_EnumProcesses
push str.NtQueryInformationProcess
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x436441
xor edi, edi
cmp dword [ebp - 0x484], edi
jbe 0x436441
push dword [ebp + edi*4 - 0x410]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x480], esi
and dword [ebp - 4], 0
test esi, esi
je 0x436425
push 0x18
lea eax, [ebp - 0x4a4]
push 0
push eax
call fcn.0043e970
add esp, 0xc
lea eax, [ebp - 0x48c]
push eax
push 0x18
lea eax, [ebp - 0x4a4]
push eax
push 0
push esi
call ebx
test eax, eax
js 0x436425
cmp dword [ebp - 0x494], 0
je 0x436425
lea ecx, [ebp - 0x444]
call fcn.00432dbb
mov eax, dword [ebp - 0x490]
push 0x4767e0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x444], eax
call fcn.004050d0
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x478]
call fcn.00432d8c
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x4ac]
push eax
mov byte [ebp - 4], 2
call fcn.004359e6
lea ecx, [ebp - 0x474]
call fcn.00401500
lea ecx, [ebp - 0x440]
call fcn.00401500
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.00403220
inc edi
cmp edi, dword [ebp - 0x484]
jb 0x436348
call fcn.0043fc6f
ret
Function at 0x4364d0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00435a42
test al, al
je 0x43653f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43653f
push esi
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x20]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0043e8f7
leave
ret

Function at 0x4365ae
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x54
mov eax, 0x4677d8
call fcn.0043fcc0
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x3c]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0x20019
push eax
push ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004013d0
mov esi, eax
test esi, esi
jne 0x43667e
push 0
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004033a0
push 0x105
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0043458e
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.004076cf
push 0x105
push dword [eax]
push edi
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
call fcn.00406b57
cmp dword [ebp - 0x48], 0
jne 0x436667
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0041feca
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
inc edi
cmp dword [ebp - 0x48], 0
je 0x4365f6
lea ecx, [ebp - 0x54]
mov dword [0x4867b0], esi
call fcn.004013a0
lea ecx, [ebp + 0xc]
call fcn.00401500
xor eax, eax
test esi, esi
sete al
call fcn.0043fc6f
ret

Function at 0x43a174
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x43a935
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x4680c4
call fcn.0043fc8d
mov ebx, ecx
xor eax, eax
inc eax
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x10], eax
call fcn.0043ae8a
xor esi, esi
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0043b622
test eax, eax
je 0x43a97d
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [ebp - 0x44]
push 2
mov ecx, 0x800000
pop edx
dec eax
je 0x43a9d8
dec eax
je 0x43a9d5
dec eax
je 0x43a9cc
dec eax
je 0x43a9be
mov eax, 0x2ee6
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 8
lea eax, [ebp - 0x14]
push eax
push 0x64
push dword [ebp + 0x1c]
push dword [ebp + 8]
call fcn.0043ab5f
jmp 0x43aaf4
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], 3
or edi, ecx
jmp 0x43a9db
mov dword [ebp - 0x10], 3
jmp 0x43a9d8
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0x18]
test ecx, edi
jne 0x43a9fc
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
jmp 0x43aaf4
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
je 0x43aa21
push dword [ebp - 0x40]
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43aa21
mov ecx, ebx
call fcn.0041eccb
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
jne 0x43aa75
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e61d
pop ecx
push dword [ebp - 0x40]
mov dword [ebx + 0x98], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x18]
inc ecx
add eax, ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e61d
pop ecx
push dword [ebp - 0x24]
mov dword [ebp + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x18], esi
je 0x43aab7
push dword [ebp - 0x1c]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp + 0x1c]
mov eax, dword [ebx + 0x94]
mov ebx, dword [ebp + 0x18]
push edi
push esi
push esi
push esi
push ebx
push 0x4720d0
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov edi, eax
call fcn.0043ebe5
pop ecx
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x43aaf4
mov esi, edi
lea ecx, [ebp - 0x50]
call fcn.0043ad0a
mov eax, esi
call fcn.0043fc5b
ret 0x18