joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426e80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00426f50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x426f3c
cmp dword [ebp - 4], 0x50000000
jb 0x426ebc
cmp dword [ebp - 4], 0x80000000
ja 0x426ebc
mov dword [ebp - 4], 0x80010000
jmp 0x426e95
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0041c990
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x426ee2
jmp 0x426f3c
cmp dword [ebp - 0x10], 0x10000
jne 0x426f25
cmp dword [ebp - 0x14], 0x10000
jb 0x426f25
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x426f18
mov eax, dword [ebp - 0x24]
jmp 0x426f3e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x426f37
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.00426f50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x426e95
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x426f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00427060
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x427054
cmp dword [ebp - 4], 0x50000000
jb 0x426fd1
cmp dword [ebp - 4], 0x80000000
ja 0x426fd1
mov dword [ebp - 4], 0x4fff0000
jmp 0x426faa
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0041c990
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x426ff7
jmp 0x427054
cmp dword [ebp - 0x10], 0x10000
jne 0x42703a
cmp dword [ebp - 0x14], 0x10000
jb 0x42703a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x42702d
mov eax, dword [ebp - 0x24]
jmp 0x427056
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x42704f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.00427060
add esp, 4
mov dword [ebp - 4], eax
jmp 0x426faa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x429f60
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [esi], 0x3f
jne 0x429f8c
push 0
push 0x43bc64
push 0x43bc98
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x4495ac]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop ecx
ret 0x10
push 0x10
call fcn.0041c261
add esp, 4
test eax, eax
je 0x429f86
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
lea ecx, [esp]
push ecx
push 0
push eax
push 0x4114e0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
push 0
push 0
mov dword [eax + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x429ff4
push eax
push 0x43bcb0
push 0x43bce4
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [0x4495ac]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop ecx
ret 0x10
mov ecx, dword [esi]
mov dword [esi + ecx*4 + 4], eax
inc dword [esi]
mov eax, dword [esp]
pop ecx
ret 0x10

Function at 0x42a010
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0x1000
call fcn.0041b40b
mov esi, eax
add esp, 4
test esi, esi
je 0x42a089
push 0x1000
push 0
push esi
call fcn.0041c990
mov edx, esi
add esp, 0xc
mov eax, edi
sub edx, edi
jmp 0x42a040
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42a040
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x411590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x42a081
push eax
push 0x43bc18
push 0x43bc4c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [ebx]
mov dword [ebx + ecx*4 + 4], eax
inc dword [ebx]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x42b300
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437350
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x445030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.0042a090
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x18], 0x604
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00418960
call fcn.0040d7c0
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4495ac], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push esi
push esi
push esi
push 0x434d20
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x11c], esi
mov eax, dword [0x44951c]
cmp eax, esi
je 0x42b3cf
mov ecx, dword [eax]
cmp ecx, dword [0x449520]
je 0x42b3cf
lea edx, [ebp - 0x18]
push edx
push 0x40
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [0x44951c]
mov ecx, dword [0x449520]
mov dword [eax], ecx
mov dword [0x449530], 1
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x11c]
call fcn.0042b1c0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004188c0
mov eax, dword [0x4495ac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42bf60
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [edx + 0x15c]
sub esp, 0x28
cmp ecx, 0xffffffff
je 0x42c090
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 4]
push eax
push ecx
mov ecx, dword [edx + 0x130]
push 0x133c
push ecx
mov dword [esp + 0x14], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x42bfc2
add esp, 0x28
ret 4
movzx ecx, word [esp + 0x2c]
cmp ecx, 0xe122
jg 0x42c053
je 0x42c041
cmp ecx, 0x8072
jg 0x42c090
je 0x42c018
sub ecx, 0x7d1
je 0x42c006
sub ecx, 1
jne 0x42c090
push 0x11
call fcn.004327c0
mov eax, 1
add esp, 0x28
ret 4
push 0x20
call fcn.004327c0
mov eax, 1
add esp, 0x28
ret 4
push 5
push 0x43d668
push 0x43d66c
push str.control.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
add esp, 0x28
ret 4
push 0xc
call fcn.004327c0
mov eax, 1
add esp, 0x28
ret 4
sub ecx, 0xe123
je 0x42c089
sub ecx, 2
je 0x42c077
sub ecx, 6
jne 0x42c090
push 0xf
call fcn.004327c0
mov eax, 1
add esp, 0x28
ret 4
push 0xd
call fcn.004327c0
mov eax, 1
add esp, 0x28
ret 4
push 0xb
call fcn.004327c0
mov eax, 1
add esp, 0x28
ret 4
Function at 0x42c0c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3c
mov edx, dword [ecx + 4]
push ebx
push esi
push edi
lea eax, [esp + 0x1c]
push eax
push edx
mov dword [esp + 0x24], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [esp + 0xc]
push eax
push 0x2001f
xor esi, esi
push esi
push 0x43cd6c
push SysReAllocStringLen
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c108
mov esi, dword [esp + 0xc]
jmp 0x42c13b
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareExplore
push SysReAllocStringLen
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42c13b
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp eax, 3
je 0x42c15f
push 0x10
lea eax, [esp + 0x3c]
push eax
push 3
push 0
push str.OldArea
push esi
call edi
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.OldAreaOf
push esi
mov dword [esp + 0x2c], ebx
call edi
test esi, esi
je 0x42c199
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x4c]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 4
mov eax, dword [esp + 0x4c]
pop edi
pop esi
mov dword [eax], 0
mov eax, 1
pop ebx
add esp, 0x3c
ret 4

Function at 0x42cbe0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
push edi
jge 0x42cc00
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
mov esi, dword [ecx]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x419
push esi
call edi
lea edx, [esp + 0x10]
push edx
push eax
push 0x41d
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x42cc3b
lea ecx, [esp + 0x18]
push ecx
push esi
call edi
mov eax, dword [ebp + 0xc]
cmp eax, 0x7d01
je 0x42cc7e
cmp eax, 0xe146
jne 0x42ccbc
mov eax, dword [ebx + 0x90]
push 5
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
push edx
push ecx
push 0x40
lea esi, [ebx + 0x4c]
mov edi, eax
call fcn.00407a60
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0
push 1
push 1
push 1
mov edi, eax
push 0xa
lea ecx, [ebx + 0x10c]
call fcn.004071a0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
push 0x40
lea esi, [ebx + 0x4c]
call fcn.00407a60
test edi, edi
je 0x42ccbc
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret 4
Function at 0x42ced0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
cmp word [esp + 0x58], 1
push ebp
push esi
push edi
je 0x42ceee
xor eax, eax
cmp dword [0x4495b4], eax
sete al
mov dword [0x4495b4], eax
mov edi, dword [ebx + 0x24]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x40c
push edi
call ebp
mov ecx, dword [0x4495b4]
mov esi, eax
push ecx
dec esi
push esi
push 0x423
push edi
call ebp
push 0x4c
lea edx, [esp + 0x18]
push 0
push edx
mov dword [esp + 0x1c], 0x50
call fcn.0041c990
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
push 0x41c
push edi
mov dword [esp + 0x24], 1
call ebp
mov ecx, dword [0x4495b4]
mov edx, dword [ebx + 0x1c0]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4495b4]
push eax
lea edi, [ebx + 0x34]
mov eax, 0x8081
call fcn.00403e40
push 1
push ebx
call fcn.0042c6e0
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x54
ret 4
Function at 0x430170
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x448804]
mov edx, dword [eax + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ecx, 0x448804
call edx
mov esi, eax
mov eax, dword [ebp + 0x260]
add esi, 0x10
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edx, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, eax
sub edx, edi
or ecx, edx
jge 0x4301bf
mov ecx, edi
lea eax, [esp + 0x14]
call fcn.00402160
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x260]
inc edi
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0041b493
add esp, 8
test eax, eax
jl 0x430237
cmp eax, dword [esi - 8]
jg 0x430237
xor ecx, ecx
mov dword [esi - 0xc], eax
lea ebx, [esp + 0x14]
mov word [esi + eax*2], cx
call fcn.00405800
call fcn.00405780
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x430212
push 0
push 0
push esi
mov eax, ebp
call fcn.0042deb0
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43022e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
push 0x80070057
call fcn.004021d0
int3
Function at 0x4306d0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x10]
call fcn.00401040
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0041b493
add esp, 8
test eax, eax
jl 0x4308c0
cmp eax, dword [esi - 8]
jg 0x4308c0
xor ecx, ecx
cmp dword [esp + 0x1c], 0x8002
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jne 0x43072d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push 1
push esi
call fcn.0042deb0
jmp 0x430871
push 0x43ce58
push esi
call fcn.0041c1b3
add esp, 8
test eax, eax
je 0x43089a
cmp dword [esi - 0xc], 1
jl 0x43089a
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x260]
add edi, 0x260
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edx, dword [0x448804]
mov ebp, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x448804
call eax
mov ebx, eax
mov edx, dword [ebx + 8]
add ebx, 0x10
mov ecx, 1
sub ecx, dword [ebx - 4]
sub edx, ebp
or ecx, edx
mov dword [esp + 0x1c], ebx
jge 0x43079f
mov ecx, ebp
lea eax, [esp + 0x1c]
call fcn.00402160
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi]
inc ebp
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi - 0xc], 0
jl 0x4307d6
push str.www.baidu.com
push esi
call fcn.0041b856
add esp, 8
test eax, eax
je 0x4307d6
sub eax, esi
sar eax, 1
js 0x4307d6
lea esi, [esp + 0x10]
call fcn.0042ddc0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push esi
add ecx, 0x25c
push ecx
call fcn.00405030
mov edx, dword [esp + 0x24]
mov eax, dword [edi]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edx
push 0xffffffffffffffff
push 0x158
push eax
call ebp
cmp eax, 0xffffffff
jne 0x43082d
mov ecx, dword [esp + 0x24]
push 0
push edi
xor edx, edx
call fcn.00407ff0
mov ecx, dword [edi]
push 0
push 0
push 0x146
push ecx
call ebp
mov edx, dword [edi]
push 0
dec eax
push eax
push 0x14e
push edx
call ebp
push ecx
lea eax, [esi - 0x10]
mov edi, esp
call fcn.00401980
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push ecx
add eax, 0x3d0
push eax
call fcn.004055c0
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430871
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43088d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4308b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
push 0x80070057
call fcn.004021d0
int3
Function at 0x4308d0
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
test edi, edi
jne 0x4308ed
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp dword [ebp + 0x15c], 0xffffffff
je 0x430afc
mov eax, dword [edi]
mov ecx, dword [ebp + 0x260]
cmp eax, ecx
je 0x430916
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x430afc
mov eax, dword [edi + 4]
cmp eax, 0x100
je 0x43092b
cmp eax, 0x104
jne 0x430afc
cmp dword [edi + 8], 0xd
jne 0x430afc
mov eax, dword [0x448804]
mov edx, dword [eax + 0xc]
mov ecx, 0x448804
call edx
mov esi, dword [ebp + 0x2a8]
add eax, 0x10
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetFocus]
xor ecx, ecx
cmp eax, esi
sete cl
mov edi, ecx
test edi, edi
jne 0x43098a
mov edx, dword [ebp + 0x260]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
mov ecx, ebx
lea esi, [esp + 0x18]
call fcn.004021b0
inc ebx
push ebx
push eax
mov eax, dword [ebp + 0x260]
push eax
jmp 0x4309ae
mov ecx, dword [ebp + 0x2a8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
mov ecx, ebx
lea esi, [esp + 0x18]
call fcn.004021b0
mov edx, dword [ebp + 0x2a8]
inc ebx
push ebx
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0041b493
add esp, 8
test eax, eax
jl 0x430b06
cmp eax, dword [esi - 8]
jg 0x430b06
xor ecx, ecx
mov dword [esi - 0xc], eax
lea ebx, [esp + 0x18]
mov word [esi + eax*2], cx
call fcn.00405800
call fcn.00405780
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
je 0x430aee
mov edx, dword [ebp + 0x110]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x430a43
lea eax, [ebp + 0x10c]
call fcn.004065e0
cmp eax, 1
jge 0x430a43
mov eax, dword [0x44961c]
push 0
push 1
push eax
mov eax, ebp
call fcn.0042deb0
lea eax, [esp + 0x18]
call fcn.004010c0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test edi, edi
je 0x430a7d
push 0x12
xor esi, esi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x430a5b
mov esi, 1
push 0x7d04
push esi
push ebp
call fcn.004303e0
lea eax, [esp + 0x18]
call fcn.004010c0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 4], 0x104
jne 0x430a96
push 0
push 1
push ebx
mov eax, ebp
call fcn.0042deb0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x430ae2
lea esi, [esp + 0x1c]
call fcn.00401000
push ebx
push str.http:__www._s.com
mov edi, esi
call fcn.00401ac0
mov esi, dword [esp + 0x24]
add esp, 8
push esi
lea edx, [ebp + 0x25c]
push edx
call fcn.00405030
push 0
push 0
push esi
mov eax, ebp
call fcn.0042deb0
mov eax, edi
call fcn.004010c0
jmp 0x430aee
push 0
push 0
push ebx
mov eax, ebp
call fcn.0042deb0
lea eax, [esp + 0x18]
mov esi, 1
call fcn.004010c0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push 0x80070057
call fcn.004021d0
int3
Function at 0x431250
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
test eax, eax
jne 0x43125e
or eax, 0xffffffff
add esp, 0xc
ret
mov ecx, 4
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0x10]
push ecx
push str.Num_Catalog_Entries
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x431257
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x431370
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x674
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push esi
mov esi, ecx
test esi, esi
jne 0x4313a5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x66c]
xor ecx, esp
call fcn.0041b3f1
add esp, 0x674
ret
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4313b0
sub eax, edx
sar eax, 1
je 0x43138c
push 0x2e
push esi
call fcn.0041b4b2
add esp, 8
test eax, eax
je 0x43138c
push 0x43d024
push eax
call fcn.0041c1b3
add esp, 8
test eax, eax
jne 0x43138c
push 0x104
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea ecx, [esp + 0x68]
push ecx
push str.rundll32.exe__u__s__s
mov ecx, 0x200
lea ebx, [esp + 0x278]
call fcn.00402ee0
push 0x44
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.0041c990
add esp, 0x14
or dword [esp + 0x4c], 1
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov word [esp + 0x70], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, ebx
push eax
push 0
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43138c
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x674]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0041b3f1
add esp, 0x674
ret
Function at 0x4317c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x214], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov dword [esp + 0x18], 1
mov word [esp + 0x1c], ax
call fcn.0041c990
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.Current_Protocol_Catalog
push 0x43d0b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43184b
mov eax, 0x43d124
mov edi, ebx
call fcn.00401040
mov eax, ebx
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0041b3f1
add esp, 0x218
ret
mov edx, dword [0x448804]
mov eax, dword [edx + 0xc]
push esi
mov ecx, 0x448804
call eax
lea ecx, [esp + 0x14]
push ecx
add eax, 0x10
push str.SystemCurrentControlSetServicesWinsock2Parameters
push str._s_s_
lea edi, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00401ac0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
add esp, 0xc
mov eax, esi
call fcn.00401980
add eax, 0x10
mov dword [ebx], eax
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4318aa
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x21c]
pop esi
pop edi
xor ecx, esp
mov eax, ebx
call fcn.0041b3f1
add esp, 0x218
ret

Function at 0x4319d0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x418
mov eax, dword [0x445030]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push edi
test eax, eax
jne 0x431a14
mov eax, 0x43d1cc
mov edi, ebx
call fcn.00401040
mov eax, ebx
pop edi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0041b3f1
add esp, 0x418
ret
cmp word [eax], 0x25
jne 0x4319f5
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
push esi
push eax
call ebp
mov edi, eax
push 0x25
push edi
call fcn.0041be18
mov esi, eax
add esp, 8
test esi, esi
jne 0x431a49
mov eax, 0x43d1d0
mov edi, ebx
call fcn.00401040
jmp 0x431ae6
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0041c990
mov ecx, esi
sub ecx, edi
sar ecx, 1
push ecx
push edi
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.0041c2c6
add esp, 0x1c
push 0x104
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x431a9e
mov eax, 0x43d1d4
mov edi, ebx
call fcn.00401040
jmp 0x431ae6
push esi
call ebp
mov esi, eax
lea eax, [esp + 0x218]
lea edi, [esp + 0xc]
call fcn.00401040
mov edx, esi
call fcn.004030a0
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
mov eax, esi
call fcn.00401980
add eax, 0x10
mov dword [ebx], eax
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x431ae6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x420]
pop esi
pop ebp
pop edi
xor ecx, esp
mov eax, ebx
call fcn.0041b3f1
add esp, 0x418
ret