joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461da0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ac804]
cmp byte [eax + 0xc], 0
je 0x461f0d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461f06
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4adba4], 0
jne 0x461df4
push 0x461f14
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x461f1c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adba4], eax
cmp dword [0x4aaf30], 0
jne 0x461eef
push 0x461f2c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4aaf30], eax
cmp dword [0x4aaf30], 0
je 0x461eef
push 0x461f38
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adba8], eax
push 0x461f48
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbac], eax
push 0x461f5c
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbb0], eax
push 0x461f74
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbb4], eax
push 0x461f8c
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbb8], eax
push 0x461fa0
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbbc], eax
push 0x461fb8
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbc0], eax
push 0x461fd0
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbc4], eax
push 0x461fec
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbc8], eax
push 0x461ff8
mov eax, dword [0x4aaf30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4adbcc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461f0d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4663b4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004040c0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x466403
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404330
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46e548
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46e598]
test si, 4
je 0x46e55c
or bl, 1
test si, 8
je 0x46e566
or bl, 4
test si, 1
je 0x46e570
or bl, 8
test si, 2
je 0x46e57a
or bl, 0x10
test si, 0x10
je 0x46e584
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e593
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46e59c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46e5d4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e5b5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e5c4
or bl, 4
test esi, 0x20000000
je 0x46e5cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x474d74
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x474d86
add esp, 0xfffffff0
call fcn.00403694
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421c1c
mov eax, dword [0x4ac418]
mov dword [eax + 4], ebx
mov dword [eax], 0x475118
mov eax, dword [0x4ac424]
mov dword [eax + 4], ebx
mov dword [eax], 0x475124
mov eax, ebx
call fcn.00475130
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416f48]
call fcn.00403300
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416f48]
call fcn.00403300
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416f48]
call fcn.00403300
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416f48]
call fcn.00403300
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416f48]
call fcn.00403300
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47154c
push eax
push 0
push 0
mov eax, dword [0x4ac5b0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4236e0]
call fcn.00424f18
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4236e0]
call fcn.00424f18
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4236e0]
call fcn.00424f18
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00475550
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47542c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47542c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47542c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x474ec3
call fcn.004036ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x475210
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4753bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47539c
mov dl, 1
mov eax, dword [0x4175ac]
call fcn.00403300
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47538b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00462100
test al, al
je 0x47537e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4753cc
lea eax, [ebp - 0x254]
call fcn.004096a4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47537e
xor eax, eax
push ebp
push 0x475377
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x475404
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x475360
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404330
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x475360
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47537e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x475281
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bb88
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4753c2
lea eax, [ebp - 0x260]
call fcn.004040c0
ret

Function at 0x475cf0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4adbf0]
cmp byte [eax + 0xa5], 0
jne 0x475d61
cmp dword [0x4adc08], 0
jne 0x475d22
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x475cac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4adc08], eax
cmp dword [0x4adc04], 0
jne 0x475d3d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4adc04], eax
cmp dword [0x4adc0c], 0
jne 0x475d61
push esp
push 0
push 0
push 0x475c50
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4adc0c], eax
pop edx
ret
Function at 0x475e58
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x475e6f
add esp, 0xfffffff0
call fcn.00403694
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421c1c
mov eax, dword [0x4ac59c]
cmp word [eax + 2], 0
jne 0x475e97
mov eax, dword [0x4ac59c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004775d8
mov eax, dword [0x4ac668]
cmp word [eax + 2], 0
jne 0x475eb1
mov eax, dword [0x4ac668]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004777d0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416f48]
call fcn.00403300
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416f48]
call fcn.00403300
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424260]
call fcn.0042c81c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x476038
mov eax, dword [0x4ac488]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042cbec
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x477d90
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ac488]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d050
test eax, eax
je 0x475fa6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409084
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d078
test eax, eax
je 0x475fba
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404330
mov eax, dword [0x4ac314]
cmp byte [eax], 0
jne 0x475fee
mov eax, ebx
call fcn.00476160
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00477f6c
mov eax, ebx
call fcn.00478930
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47602e
call fcn.004036ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4763e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4adbf0]
cmp dword [eax + 0x30], 0
je 0x47648a
cmp dword [ebx + 0x94], 0
jne 0x476484
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x476370
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x476484
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47644a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x476484
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419798
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x476459
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x476fec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x477021
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004041b0
jmp 0x47702e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404114
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x478148
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x478189
mov eax, esi
call fcn.0045d684
test al, al
je 0x478189
mov eax, dword [ebx + 0x84]
call fcn.0045d380
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x478189
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045d380
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47b850
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47b87e
mov eax, ebx
call fcn.0047c304
cmp dword [ebx + 0x40], 0
je 0x47b877
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47b8ef
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47b8e1
cmp dword [ebx + 8], 0
je 0x47b8a0
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 0x47b8b2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47b8e1
cmp dword [ebx + 8], 0
je 0x47b893
cmp eax, 3
je 0x47b8c5
dec eax
jne 0x47b893
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 0x47b893
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47b893
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47b90d
cmp dword [ebx + 0x14], 0xcc
je 0x47b90d
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.0047b918
pop ebx
ret
Function at 0x48c284
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41632c]
call fcn.00404bcc
xor eax, eax
push ebp
push 0x48c3c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aba74], 0
jne 0x48c2d7
mov ecx, dword [0x4ac330]
mov dl, 1
mov eax, dword [0x4077bc]
call fcn.0040c27c
call fcn.00403afc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d44
mov eax, ebx
call fcn.00404928
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48c3d8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405cc8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404938
test eax, eax
jle 0x48c36f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48c368
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404348
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404330
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408688
test eax, eax
jne 0x48c368
mov ebx, 0x15
jmp 0x48c374
mov ebx, 0x10
jmp 0x48c374
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4aba74]
call fcn.0048c1dc
mov eax, dword [ebp - 8]
call fcn.0048c1dc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ce0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c3cf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040e4
lea eax, [ebp - 0x10]
mov edx, dword [0x41632c]
call fcn.00404c9c
ret

Function at 0x48fb74
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0048f614
test byte [ebx + 0x23d], 4
jne 0x48fc09
mov edx, esp
mov eax, ebx
call fcn.004563dc
push esp
mov eax, ebx
call fcn.0045d17c
push eax
push 0
mov eax, ebx
test eax, eax
je 0x48fba9
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x48fbda
mov ecx, dword [0x4ac53c]
mov dl, 1
mov eax, dword [0x48be9c]
call fcn.0040c27c
call fcn.00403afc
mov eax, ebx
call fcn.00490148
cmp byte [ebx + 0x57], 0
jne 0x48fc10
mov eax, ebx
call fcn.0045d380
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48fc10
push 0
mov eax, ebx
call fcn.0045d380
push eax
call sub.user32.dll_ShowWindow
jmp 0x48fc10
mov eax, ebx
call fcn.0045a300
add esp, 0x10
pop ebx
ret
Function at 0x4981e8
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.00404570
mov eax, dword [ebp - 8]
call fcn.00404570
xor eax, eax
push ebp
push 0x4982b3
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.00404580
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4982c0
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.00404580
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 0x4982ba
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040e4
ret

Function at 0x4982c8
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.00404570
mov eax, dword [ebp - 8]
call fcn.00404570
mov eax, dword [ebp - 0xc]
call fcn.00404570
mov eax, dword [ebp + 0xc]
call fcn.00404570
xor eax, eax
push ebp
push 0x4983d5
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.00404580
mov edi, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 3
mov eax, 0x4983e8
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.00404580
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404580
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404580
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 0x4983dc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004040e4
lea eax, [ebp + 0xc]
call fcn.004040c0
ret
Function at 0x499a88
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, 0x499b1c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 3
mov eax, 0x499b20
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 1
push 0x499b1c
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 0x499c70
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00402d44
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x499c9e
mov al, 1
jmp 0x499ca0
xor eax, eax
add esp, 0xc
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404580
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x49c9f1
test al, 0x10
jne 0x49c9f5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404580
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x49ca15
test al, 0x10
je 0x49ca19
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x49cbf8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49ccba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047cc
mov dl, 1
mov eax, dword [0x43a3d0]
call fcn.0043a53c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49cc9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0043a618
xor ecx, ecx
mov edx, 0x49ccd0
mov eax, dword [ebp - 4]
call fcn.0043a75c
test al, al
je 0x49cc7f
lea ecx, [ebp - 8]
mov edx, 0x49cd1c
mov eax, dword [ebp - 4]
call fcn.0043ab04
lea eax, [ebp - 8]
mov edx, 0x49cd2c
call fcn.00404388
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cca4
mov eax, dword [ebp - 4]
call fcn.0043a5e8
mov eax, dword [ebp - 4]
call fcn.00403330
ret
Function at 0x49f8c4
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test byte [eax + 0x34c], 1
je 0x49f8d7
or edx, 0x10000000
jmp 0x49f8dd
or edx, 0x20000000
test byte [eax + 0x34c], 2
je 0x49f8ee
or edx, 0x40000000
jmp 0x49f8f4
or edx, 0x80000000
test byte [eax + 0x34c], 4
je 0x49f902
or edx, 1
jmp 0x49f905
or edx, 1
test byte [eax + 0x34c], 8
je 0x49f913
or edx, 2
jmp 0x49f916
or edx, 2
test byte [eax + 0x34c], 0x10
je 0x49f924
or edx, 4
jmp 0x49f927
or edx, 4
test byte [eax + 0x34c], 0x20
je 0x49f935
or edx, 6
jmp 0x49f938
or edx, 6
test byte [eax + 0x34c], 0x40
je 0x49f946
or edx, 8
jmp 0x49f949
or edx, 8
push edx
mov eax, dword [eax + 0x240]
push eax
call sub.shlwapi.dll_SHAutoComplete
ret

Function at 0x4a83d0
Capabilities:
Shutdown system

Disassembly:
add byte [edx], dh
add byte [edx], dh
add byte [esi], ch
add byte [ebx], ah
outsd dx, dword [esi]
add byte [ebp], ch
das
add byte [ebx], dh
push 0x77006f00
add byte [edi], bl
xor eax, dword [eax]
xor byte [eax], al
xor byte [eax], al
xor al, byte [eax]
xor eax, 0x2e003000
add byte [eax], ch
je 0x4a83c8
insd dword es:[edi], dx
add byte [eax + eax], ch
add byte [eax], al
add byte [ebx + 0xa7201e8], al
je 0x4a83ee
dec eax
je 0x4a83fd
dec eax
je 0x4a840c
jmp 0x4a841a
push 0
push 2
call sub.user32.dll_ExitWindowsEx
call fcn.0040d868
ret
push 0
push 1
call sub.user32.dll_ExitWindowsEx
call fcn.0040d868
ret
push 0
push 0
call sub.user32.dll_ExitWindowsEx
call fcn.0040d868
ret