joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b750
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x47b7f3
test eax, eax
jbe 0x47b7f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x47b7f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47b79e
xor esi, esi
jmp 0x47b7a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47b7cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0047f9b0
add esi, eax
push esi
mov ebx, esi
call fcn.0047f9b0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x47b7b0
pop ebp
test edi, edi
pop edi
jne 0x47b7f3
test ebx, ebx
je 0x47b7f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0049c050
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x47b935
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47ba4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ba4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004c067e
mov esi, eax
test esi, esi
je 0x47ba4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47ba4d
mov ecx, esi
call fcn.0047b8a0
cmp edi, eax
jge 0x47ba4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47b9d3
mov dword [esp + 0x34], 1
jmp 0x47ba2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47ba4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047ade0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x482dd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d0648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004831c0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x53489c
call fcn.0049d3ba
mov ecx, dword [0x4e51f8]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00480580
mov esi, 0x4e5250
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x482e77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x482e6e
cmp al, 0xff
je 0x482e6e
dec al
mov byte [ecx], al
jmp 0x482e77
push ecx
call fcn.004be999
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004ba4a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x482ebd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x482eb4
cmp al, 0xff
je 0x482eb4
dec al
mov byte [ecx], al
jmp 0x482ebd
push ecx
call fcn.004be999
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0049d441
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x48ce00
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48ce4a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x48ce79
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x48cebb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x48fba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x48fc06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x48fc06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x48fbe7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x48ff90
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x48ffc8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x490c90
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x490cd9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x491150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d0c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00490d00
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00490d80
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00490d80
lea ecx, [esi + 0xc]
call fcn.004bebba
lea ecx, [esi + 0x10]
call fcn.004bebba
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00492310
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00492310
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00492310
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004bec2f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004bec2f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b4990
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d23a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004a9746
mov eax, dword [0x4e9e18]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004a9678
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004b5450
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4b4a37
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b4a2e
cmp al, 0xff
je 0x4b4a2e
dec al
mov byte [ecx], al
jmp 0x4b4a37
push ecx
call fcn.004be999
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4b4a68
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b4a5f
cmp al, 0xff
je 0x4b4a5f
dec al
mov byte [ecx], al
jmp 0x4b4a68
push ecx
call fcn.004be999
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4c1022
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c105a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004bf0d6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004bf0ae
jmp 0x4c1066
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c2714
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c2756
call fcn.004c86fa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c2756
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c274d
xor eax, eax
jmp 0x4c275e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c2764
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c8c2a
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 0x4c8c58
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c8c76
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c8b90
jmp 0x4c8c76
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c8c76
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c8b90
test edi, edi
mov eax, edi
jne 0x4c8c60
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x909191f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x301f5f8f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40a1f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49576f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4bfa48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x40a270
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0x4a2bb8
cmp dword [ebp + 8], 0
jne 0x40a23e
mov dword [ebp - 0x18], 0
jmp 0x40a251
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.0040b1e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0047c234
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.mailru::exception.0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax + 0xc], vtable.mailru::exception.1.0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.00401c40
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.00401c40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x40b079
xor ecx, ecx
jne 0x40b079
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b0c0
mov eax, dword [ebp - 0xc]
jmp 0x40b11d
cmp dword [ebp - 4], 1
je 0x40b0d3
cmp dword [ebp - 4], 2
je 0x40b0d3
mov eax, 0xd
jmp 0x40b11d
cmp dword [ebp + 0xc], 0
je 0x40b111
cmp dword [ebp - 8], 0
je 0x40b109
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40b100
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x40b107
mov eax, 0xd
jmp 0x40b11d
jmp 0x40b111
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c6b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.0040cd10
cmp dword [ebp + 8], 1
je 0x40c6da
mov ecx, dword [ebp - 4]
add ecx, 0x4c
call fcn.00401eb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
je 0x40c6f0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x40c706
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x6c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0040c9d0
mov esp, ebp
pop ebp
ret 4
Function at 0x40ee40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495cec
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4bfa48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], 0
push 0x40
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.0047c710
add esp, 0xc
mov dword [ebp - 0x64], 0x44
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
call fcn.00413fb0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00413f80
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00411420
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x8e], ax
lea ecx, [ebp - 0x8e]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0040f9d0
mov ecx, dword [ebp + 0xc]
call fcn.00401310
movzx edx, al
test edx, edx
jne 0x40ef14
mov ecx, dword [ebp + 0xc]
call fcn.00401eb0
mov dword [ebp - 0x94], eax
jmp 0x40ef1e
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x94]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.0040b690
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40ef6e
mov byte [ebp - 0x8f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0040b610
mov al, byte [ebp - 0x8f]
jmp 0x40efb8
cmp dword [ebp + 0x10], 0
jne 0x40ef82
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040efd0
add esp, 4
jmp 0x40ef9c
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0xc], ecx
mov byte [ebp - 0x90], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0040b610
mov al, byte [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40eff0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040ee40
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x40f02e
xor al, al
jmp 0x40f0b8
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00410f20
add esp, 8
push eax
lea ecx, [ebp - 0x20]
call fcn.0040f0c0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 4]
call fcn.0040f0e0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x15], al
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x40f08b
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40f08b
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x40f0a7
cmp dword [ebp + 0x1c], 0
je 0x40f0a7
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x21], dl
lea ecx, [ebp - 4]
call fcn.0040f100
mov al, byte [ebp - 0x21]
mov esp, ebp
pop ebp
ret
Function at 0x40f470
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495dfa
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4bfa48]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x80]
call fcn.0040fa50
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00401310
movzx eax, al
test eax, eax
je 0x40f4be
jmp 0x40f5e6
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401eb0
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x40f4e6
jmp 0x40f5e6
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00410f20
add esp, 8
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040f610
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f630
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.0040fdb0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.00445980
add esp, 8
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
call fcn.0040b6e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.004276d0
mov dword [ebp - 0x44], 0
jmp 0x40f572
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x10]
jge 0x40f5ce
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + eax*4]
push edx
lea ecx, [ebp - 0x60]
call fcn.00401ed0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x44], 0
jne 0x40f5b4
lea ecx, [ebp - 0x60]
call fcn.00401eb0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401eb0
push eax
call fcn.0047cb61
add esp, 8
test eax, eax
je 0x40f5c0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.0040ffd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.00401100
jmp 0x40f569
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00401100
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040f650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047beb8
mov esp, ebp
pop ebp
ret 8
Function at 0x412cb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4bfa48]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00417660
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412dc0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412d1b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0040af30
mov eax, dword [ebp - 0x224]
jmp 0x412dac
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x412d81
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412cb0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412d78
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0040af30
mov eax, dword [ebp - 0x228]
jmp 0x412dac
mov dword [ebp - 4], 0x100
jmp 0x412d22
lea ecx, [ebp - 0x14]
call fcn.0040af50
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00412c80
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0040af30
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047beb8
mov esp, ebp
pop ebp
ret 4