joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423bf8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x423c78]
mov eax, ebx
call fcn.00424168
mov dl, byte [0x423c7c]
mov eax, dword [ebp - 4]
call fcn.00424168
mov edx, dword [ebx + 0x20]
push edx
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
push edx
mov edx, dword [edi + 8]
sub edx, dword [edi]
push edx
mov edx, dword [edi + 4]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
push edx
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
push edx
mov edx, dword [esi + 8]
mov eax, dword [esi]
sub edx, eax
push edx
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetKeyState
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x423df4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x423e28]
mov eax, ebx
call fcn.00424168
inc edi
push edi
push esi
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
ret

Function at 0x424260
Capabilities:
Get keyboard layout

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
call fcn.004239bc
push eax
call sub.user32.dll_GetKeyboardLayout
mov eax, dword [ebx + 0x14]
call fcn.004239bc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetActiveWindow
mov eax, dword [ebx + 0x14]
call fcn.00423a9c
test al, al
jne 0x4242b3
mov eax, dword [ebx + 0x14]
call fcn.00423980
call fcn.00422cfc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClassInfoA
push 2
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClassNameA
pop ebx
ret
mov eax, dword [ebx + 0x14]
call fcn.00423980
call fcn.00422cfc
not eax
push eax
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClassInfoA
push 1
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_GetClassNameA
pop ebx
ret
Function at 0x42449c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x18], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4245ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
push 0x18
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DestroyCursor
test bl, bl
je 0x4244fe
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateBitmap
mov dword [ebp - 0x10], eax
jmp 0x424560
push 0
call fcn.00407304
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x424513
call fcn.004243e4
xor eax, eax
push ebp
push 0x424559
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x424540
call fcn.004243e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424560
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.00407574
ret
cmp dword [ebp - 0x10], 0
je 0x4245ca
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetActiveWindow
mov ebx, eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetActiveWindow
mov esi, eax
push 0xcc0020
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetKeyState
test ebx, ebx
je 0x4245bc
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetActiveWindow
test esi, esi
je 0x4245ca
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetActiveWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4245f1
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_CharUpperBuffA
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_CharUpperBuffA
ret
Function at 0x427aa0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
test esi, esi
je 0x427b56
cmp word [ecx + 0x26], 8
ja 0x427b56
lea edx, [ebp - 0x410]
mov ecx, 0xff
mov eax, dword [ebp - 4]
call fcn.00424c20
mov ebx, eax
test ebx, ebx
je 0x427b56
push 0
call fcn.00407304
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x427b4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x410]
push eax
push ebx
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b56
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetActiveWindow
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_CharUpperBuffA
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.00407574
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42deb0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404b84
xor eax, eax
push ebp
push 0x42dfde
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.00407524
test eax, eax
je 0x42dfb1
xor eax, eax
push ebp
push 0x42dfaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404994
inc eax
push eax
push 0x2002
call sub.user32.dll_MessageBeep
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42df7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_OpenClipboard
mov ebx, eax
xor eax, eax
push ebp
push 0x42df6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404994
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404b94
mov edx, ebx
pop ecx
call fcn.00402a64
call fcn.00407264
mov eax, dword [ebp - 8]
push eax
push 1
call fcn.004075cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42df75
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_PtInRect
ret
mov ecx, dword [0x48e6c0]
mov dl, 1
mov eax, dword [0x407d18]
call fcn.0040c870
call fcn.00404110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dfe5
lea eax, [ebp - 4]
call fcn.004046d4
ret
Function at 0x42dfec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e19d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404d84
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42e1b4
call fcn.004049e0
mov eax, ebx
call fcn.0042038c
mov edi, eax
dec edi
test edi, edi
jl 0x42e0a4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420360
mov edx, dword [0x4348a4]
call fcn.00403b10
test al, al
je 0x42e0a0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00420360
lea edx, [ebp - 0x14]
call fcn.0043bc4c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404d84
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a54
inc esi
dec edi
jne 0x42e052
mov al, byte [0x42e1b8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42e1c4
mov eax, dword [ebp - 0xc]
call fcn.0040dc0c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040476c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043bc4c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42e1b4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043bc4c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42e1b4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42e1b4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42e1d0
call fcn.00409d18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e1a4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004046f8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004046f8
lea eax, [ebp - 0x14]
call fcn.004046d4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004046f8
ret

Function at 0x43a598
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
push ebx
call sub.user32.dll_DrawMenuBar
push 0
mov eax, dword [esp + 8]
sub eax, edi
push eax
mov eax, dword [esp + 8]
sub eax, esi
push eax
push ebx
call sub.user32.dll_GetKeyNameTextA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x45ca3c
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b84
xor eax, eax
push ebp
push 0x45cb2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x45cafa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x45cada
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x45cac2
mov edx, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 8]
mov cl, byte [eax + 1]
mov byte [edx + 1], cl
mov edx, dword [ebp - 8]
mov cl, byte [eax + 2]
mov byte [edx + 2], cl
mov edx, dword [ebp - 8]
mov al, byte [eax + 3]
mov byte [edx + 3], al
jmp 0x45caf0
mov ecx, 0x45cb44
mov dl, 1
mov eax, dword [0x407d18]
call fcn.0040c7b4
call fcn.00404110
jmp 0x45caf0
mov ecx, 0x45cb6c
mov dl, 1
mov eax, dword [0x407d18]
call fcn.0040c7b4
call fcn.00404110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45cb10
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cb32
lea eax, [ebp - 4]
call fcn.004046d4
ret

Function at 0x45cb84
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404b84
xor eax, eax
push ebp
push 0x45cbff
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.icmp.dll_IcmpCreateFile
mov esi, eax
cmp esi, 0xffffffff
je 0x45cbe9
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045ca3c
push 0
push 0x80
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push dword [ebp - 8]
push esi
call sub.icmp.dll_IcmpSendEcho
test eax, eax
setne bl
push esi
call sub.icmp.dll_IcmpCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc06
lea eax, [ebp - 4]
call fcn.004046d4
ret

Function at 0x45cc10
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b84
mov eax, dword [ebp - 8]
call fcn.00404b84
xor eax, eax
push ebp
push 0x45cc7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404b94
push eax
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
jne 0x45cc60
mov bl, 1
jmp 0x45cc62
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc84
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046f8
ret
Function at 0x4639ac
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov esi, eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x463a6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
push edi
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
cmp dword [edi], 0
jbe 0x463a55
mov eax, dword [edi]
call fcn.004027f0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [edi]
mov dword [eax], edx
push edi
mov eax, dword [ebp - 8]
push eax
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov ebx, eax
test ebx, ebx
je 0x463a55
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
call fcn.004048cc
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp - 8]
call fcn.00402810
push edi
push 0
push ebx
call sub.wininet.dll_FindNextUrlCacheEntryA
cmp dword [edi], 0
jbe 0x463a55
mov eax, dword [edi]
call fcn.004027f0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [edi]
mov dword [eax], edx
push edi
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.wininet.dll_FindNextUrlCacheEntryA
test ebx, ebx
jne 0x463a03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463a72
lea eax, [ebp - 0xc]
call fcn.004046d4
ret

Function at 0x46d9ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46da1a
mov eax, ebx
call fcn.0046e4a0
cmp dword [ebx + 0x40], 0
je 0x46da13
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46da8b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46da7d
cmp dword [ebx + 8], 0
je 0x46da3c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46da4e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46da7d
cmp dword [ebx + 8], 0
je 0x46da2f
cmp eax, 3
je 0x46da61
dec eax
jne 0x46da2f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46da2f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46da2f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46daa9
cmp dword [ebx + 0x14], 0xcc
je 0x46daa9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046dab4
pop ebx
ret
Function at 0x47e170
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b84
mov eax, dword [ebp - 8]
call fcn.00404b84
xor eax, eax
push ebp
push 0x47e23b
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, dword [ebp - 8]
call fcn.00404b94
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x47e248
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e242
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046f8
ret

Function at 0x47e250
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b84
mov eax, dword [ebp - 8]
call fcn.00404b84
mov eax, dword [ebp - 0xc]
call fcn.00404b84
mov eax, dword [ebp + 0xc]
call fcn.00404b84
xor eax, eax
push ebp
push 0x47e35d
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.00404b94
mov edi, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 3
mov eax, 0x47e370
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404b94
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404b94
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404b94
push eax
mov ax, word [ebp + 8]
push eax
push edi
push ebx
call sub.wininet.dll_InternetConnectA
push esi
lea eax, [ebp - 0x20]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e364
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046f8
lea eax, [ebp + 0xc]
call fcn.004046d4
ret
Function at 0x4800d8
Capabilities:
Create http request

Disassembly:
push ebx
push esi
add esp, 0xffffffc8
mov esi, 0x14
mov dword [esp], 0x14
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 2
mov eax, 0x48016c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
mov eax, 0x480170
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 1
push 0x48016c
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [esp + 4]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
add esp, 0x38
pop esi
pop ebx
ret

Function at 0x480137
Capabilities:
Create http request

Disassembly:
push ebx
push esi
add esp, 0xffffffc8
mov esi, 0x14
mov dword [esp], 0x14
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 3
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 2
mov eax, 0x48016c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
mov eax, 0x480170
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 1
push 0x48016c
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [esp + 4]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
add esp, 0x38
pop esi
pop ebx
ret
Function at 0x40272c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004037a4
test esi, esi
jne 0x402762
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403894
jmp 0x402780
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402640
mov edi, eax
test esi, esi
je 0x402780
cmp dword [ebx], 0
je 0x402780
dec esi
jmp 0x402769
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402bf8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x41a008], 0x8088405
inc edx
mov dword [ebx + 0x41a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402e44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x41a018]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402edc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ebc
xor eax, eax
push ebp
push 0x402eb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402ef8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ebc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x41a018]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x41a018], ax
mov esp, ebp
pop ebp
ret

Function at 0x4035ac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41b034], 0
je 0x40360d
cmp word [0x41b208], 0xd7b2
jne 0x4035d5
cmp dword [0x41b210], 0
jbe 0x4035d5
mov eax, 0x41b204
call dword [0x41b220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41a084
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403634
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41a024], 0
jne 0x403629
push 0
push 0x41a07c
push 0x41a084
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004024d0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x41b035], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403728
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc