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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d488]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d469
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d478
or bl, 4
test esi, 0x20000000
je 0x45d483
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463b64
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463b76
add esp, 0xfffffff0
call fcn.004041a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004234b0
mov eax, dword [0x4e62dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x463f08
mov eax, dword [0x4e62f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x463f14
mov eax, ebx
call fcn.00463f20
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a100]
call fcn.00403e40
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a100]
call fcn.00403e40
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a100]
call fcn.00403e40
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a100]
call fcn.00403e40
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a100]
call fcn.00403e40
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, 0x460338
push eax
push 0
push 0
mov eax, dword [0x4e65bc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424fc8]
call fcn.00426824
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424fc8]
call fcn.00426824
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424fc8]
call fcn.00426824
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00464394
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46425c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46425c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46425c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463cb3
call fcn.00404200
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46401c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4641ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4641cd
mov dl, 1
mov eax, dword [0x41a764]
call fcn.00403e40
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c80
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x4641bc
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00451998
test al, al
jne 0x4640b9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4641af
xor edx, edx
push ebp
push 0x4641a8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4640d9
mov ebx, dword [ebp - 0x10]
jmp 0x4640db
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x4641fc
lea eax, [ebp - 0x258]
call fcn.0040aa20
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x464191
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x464234
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x464191
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x464191
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4641af
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x46409a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ef4c
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 0x4641f3
lea eax, [ebp - 0x264]
call fcn.00404c80
ret
Function at 0x464b34
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4e7b78]
cmp byte [eax + 0xa5], 0
jne 0x464ba5
cmp dword [0x4e7b90], 0
jne 0x464b66
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464af0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e7b90], eax
cmp dword [0x4e7b8c], 0
jne 0x464b81
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e7b8c], eax
cmp dword [0x4e7b94], 0
jne 0x464ba5
push esp
push 0
push 0
push 0x464a94
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e7b94], eax
pop edx
ret

Function at 0x465238
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e7b78]
cmp dword [eax + 0x30], 0
je 0x4652e2
cmp dword [ebx + 0x94], 0
jne 0x4652dc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4651c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4652dc
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 0x4652a2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4652dc
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.0041c7cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4652b1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465e40
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 0x465e75
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.00404d70
jmp 0x465e82
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cd4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46704c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46708d
mov eax, esi
call fcn.0044ceec
test al, al
je 0x46708d
mov eax, dword [ebx + 0x84]
call fcn.0044cbe8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46708d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044cbe8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46a77c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46a7aa
mov eax, ebx
call fcn.0046b230
cmp dword [ebx + 0x40], 0
je 0x46a7a3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46a81b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46a80d
cmp dword [ebx + 8], 0
je 0x46a7cc
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 0x46a7de
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46a80d
cmp dword [ebx + 8], 0
je 0x46a7bf
cmp eax, 3
je 0x46a7f1
dec eax
jne 0x46a7bf
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 0x46a7bf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46a7bf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46a839
cmp dword [ebx + 0x14], 0xcc
je 0x46a839
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.0046a844
pop ebx
ret

Function at 0x47e2c4
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0047e1e8
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404078
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x47e328
call fcn.0047dcb8
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x47e31a
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404078
pop esi
pop ebx
ret

Function at 0x47e34c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.00405140
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.00403690
cmp dword [esp + 4], 0
je 0x47e39e
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret
Function at 0x47e484
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47e4b5
mov ecx, dword [0x4e6648]
mov dl, 1
mov eax, dword [0x47d574]
call fcn.0040d5f0
call fcn.00404610
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x47e4e2
mov ecx, dword [0x4e6580]
mov dl, 1
mov eax, dword [0x47d574]
call fcn.0040d5f0
call fcn.00404610
xor eax, eax
push ebp
push 0x47e55e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404078
cmp byte [ebp + 8], 0
je 0x47e53a
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047e3ec
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0047e2c4
jmp 0x47e554
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047ddf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e57b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47e75c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047e0b4
xor eax, eax
push ebp
push 0x47e8ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x47e8b8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x47e7a8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47e7b2
call fcn.004046bc
jmp 0x47e8d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f008
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x47e8ad
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x47e860
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x47e84d
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404078
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0047e714
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x47e8e0]
cmp dl, byte [eax + 0x28]
je 0x47e8b4
call fcn.0040d508
jmp 0x47e8b4
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f028
jmp 0x47e8b4
cmp edi, ebx
jge 0x47e87c
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f028
jmp 0x47e7b2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f008
cmp edx, dword [esp + 4]
jne 0x47e89c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x47e7b2
push ebp
call fcn.0047e714
pop ecx
jmp 0x47e8b4
push ebp
call fcn.0047e714
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e8d5
mov eax, dword [ebp - 4]
call fcn.0047e0c0
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e8e4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047e0b4
xor eax, eax
push ebp
push 0x47e985
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47e91e
call fcn.004046bc
jmp 0x47e98c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x47e96f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47e96f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404078
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e98c
mov eax, dword [ebp - 4]
call fcn.0047e0c0
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47e9dc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047e0b4
xor eax, eax
push ebp
push 0x47eac9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x47ea2e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47ea2e
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x47eab3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47ea41
call fcn.004046bc
jmp 0x47ead0
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x47ea62
cmp ebx, dword [ebp - 0x10]
jle 0x47ea62
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x47eab3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47eab3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404078
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ead0
mov eax, dword [ebp - 4]
call fcn.0047e0c0
ret
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4836d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405140
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x483730
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e69dc]
mov dl, 1
mov eax, dword [0x4831e4]
call fcn.0040d62c
call fcn.00404610
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00483358
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48df18
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48df20
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48e0bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x48e0d4
mov eax, esi
call fcn.0048bda0
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404cd4
lea ecx, [ebp - 0xc]
mov edx, 0x48e0e8
mov eax, esi
call fcn.0048bda0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404cd4
lea ecx, [ebp - 0x10]
mov edx, 0x48e100
mov eax, esi
call fcn.0048bda0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404cd4
lea ecx, [ebp - 0x14]
mov edx, 0x48e11c
mov eax, esi
call fcn.0048bda0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404cd4
lea ecx, [ebp - 0x18]
mov edx, 0x48e138
mov eax, esi
call fcn.0048bda0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404cd4
lea ecx, [ebp - 0x20]
mov edx, 0x48e150
mov eax, esi
call fcn.0048bda0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004093ec
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.004097e0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x48e168
mov eax, esi
call fcn.0048bda0
mov eax, dword [ebp - 0x24]
call fcn.004854b8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x48e178
mov eax, esi
call fcn.0048bda0
mov eax, dword [ebp - 0x28]
call fcn.004854b8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x48e190
mov eax, esi
call fcn.0048bda0
mov eax, dword [ebp - 4]
call fcn.0048506c
test al, al
je 0x48e073
mov eax, dword [ebp - 4]
call fcn.004097a4
mov edi, eax
test edi, edi
jl 0x48e069
call fcn.0040b774
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x48e198]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x48e07f
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x48e07f
mov eax, dword [ebp - 4]
call fcn.004854b8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48e1a4
mov eax, esi
call fcn.0048bda0
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e0c3
lea eax, [ebp - 0x30]
call fcn.00404c80
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404ca4
ret

Function at 0x49530c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x495366
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004952fc
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00483f6c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00483b6c
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49536d
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x49b8a8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49ba19
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49b9f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404e68
lea eax, [ebp - 0x118]
mov edx, 0x49ba30
call fcn.00404f48
mov eax, dword [ebp - 0x118]
call fcn.00405140
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x49b966
lea eax, [ebp - 0x111]
call fcn.0040a398
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404d70
jmp 0x49b96d
mov eax, esi
call fcn.00404c80
cmp bl, 0x61
jae 0x49b98e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e420
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404cd4
jmp 0x49b9a8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e394
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404cd4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x49ba3c
call fcn.0040aab8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b9fb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4a0d9c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x4a0e00
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.004a0e0c
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a5a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0e07
lea eax, [ebp - 4]
call fcn.00404c80
ret