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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a8fd0]
cmp byte [eax + 0xc], 0
je 0x44fa65
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44fa5e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a9bc4], 0
jne 0x44f94c
push 0x44fa6c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44fa74
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bc4], eax
cmp dword [0x4a7cc8], 0
jne 0x44fa47
push 0x44fa84
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a7cc8], eax
cmp dword [0x4a7cc8], 0
je 0x44fa47
push 0x44fa90
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bc8], eax
push 0x44faa0
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bcc], eax
push 0x44fab4
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bd0], eax
push 0x44facc
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bd4], eax
push 0x44fae4
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bd8], eax
push 0x44faf8
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bdc], eax
push 0x44fb10
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9be0], eax
push 0x44fb28
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9be4], eax
push 0x44fb44
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9be8], eax
push 0x44fb50
mov eax, dword [0x4a7cc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9bec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fa65
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x453a20
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.004045d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x453a6f
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.0040483c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b8bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b90c]
test si, 4
je 0x45b8d0
or bl, 1
test si, 8
je 0x45b8da
or bl, 4
test si, 1
je 0x45b8e4
or bl, 8
test si, 2
je 0x45b8ee
or bl, 0x10
test si, 0x10
je 0x45b8f8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b907
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45b910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b948]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b929
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b938
or bl, 4
test esi, 0x20000000
je 0x45b943
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x461f64
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x461f76
add esp, 0xfffffff0
call fcn.00403bcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423240
mov eax, dword [0x4a8bec]
mov dword [eax + 4], ebx
mov dword [eax], 0x462308
mov eax, dword [0x4a8bf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x462314
mov eax, ebx
call fcn.00462320
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.00403838
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.00403838
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.00403838
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.00403838
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.00403838
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, 0x45e7e8
push eax
push 0
push 0
mov eax, dword [0x4a8d74]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424ca0]
call fcn.004263b4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424ca0]
call fcn.004263b4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424ca0]
call fcn.004263b4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462788
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462664
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462664
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462664
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4620b3
call fcn.00403c24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x462448
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 0x4625f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4625d4
mov dl, 1
mov eax, dword [0x419238]
call fcn.00403838
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4625c3
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.0044fc58
test al, al
je 0x4625b6
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, 0x462604
lea eax, [ebp - 0x254]
call fcn.00409950
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4625b6
xor eax, eax
push ebp
push 0x4625af
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 0x46263c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462598
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
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 0x462598
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4625b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4624b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d7ac
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 0x4625fa
lea eax, [ebp - 0x260]
call fcn.004045d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a9c08]
cmp byte [eax + 0xa5], 0
jne 0x462f99
cmp dword [0x4a9c20], 0
jne 0x462f5a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x462ee4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a9c20], eax
cmp dword [0x4a9c1c], 0
jne 0x462f75
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a9c1c], eax
cmp dword [0x4a9c24], 0
jne 0x462f99
push esp
push 0
push 0
push 0x462e88
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a9c24], eax
pop edx
ret
Function at 0x4630c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4630d7
add esp, 0xfffffff0
call fcn.00403bcc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423240
mov eax, dword [0x4a8d5c]
cmp word [eax + 2], 0
jne 0x4630ff
mov eax, dword [0x4a8d5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046479c
mov eax, dword [0x4a8e20]
cmp word [eax + 2], 0
jne 0x463119
mov eax, dword [0x4a8e20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464994
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.00403838
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418bd4]
call fcn.00403838
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], 0x80000018
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 [0x425720]
call fcn.0042d28c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4632a0
mov eax, dword [0x4a8c60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d65c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464f14
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a8c60]
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.0040d7c0
test eax, eax
je 0x46320e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409298
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d7e8
test eax, eax
je 0x463222
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.0040483c
mov eax, dword [0x4a8af4]
cmp byte [eax], 0
jne 0x463256
mov eax, ebx
call fcn.004633c8
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.004650f0
mov eax, ebx
call fcn.00465aa0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463296
call fcn.00403c24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46363c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a9c08]
cmp dword [eax + 0x30], 0
je 0x4636e6
cmp dword [ebx + 0x94], 0
jne 0x4636e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4635cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4636e0
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 0x4636a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4636e0
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.0041b404
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4636b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4641c4
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 0x4641f9
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.004046c4
jmp 0x464206
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404628
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4652cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46530d
mov eax, esi
call fcn.0044b350
test al, al
je 0x46530d
mov eax, dword [ebx + 0x84]
call fcn.0044b04c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46530d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b04c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4698c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00469500
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x469922
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a8d80]
mov dl, 1
mov eax, dword [0x4693f8]
call fcn.0040caa8
call fcn.00404034
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46992c
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.00404a84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x469984
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a8fdc]
mov dl, 1
mov eax, dword [0x4693f8]
call fcn.0040caa8
call fcn.00404034
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00469530
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 0x473580
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473658
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a9c94], 0
jne 0x47363c
lea eax, [ebp - 4]
mov edx, 0x473670
call fcn.0040466c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a84
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x47363c
mov eax, ebx
call fcn.00402764
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x473635
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47361f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x473680
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47361f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4a9c94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47363c
mov eax, dword [ebp - 0xc]
call fcn.00402784
ret
mov ebx, dword [0x4a9c94]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47365f
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x481420
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4a9cb8], 0
jne 0x481443
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x481394
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a9cb8], eax
ret

Function at 0x484974
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0044b350
test al, al
je 0x4849cf
cmp bl, 7
jne 0x4849ab
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x4849b0
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
test eax, eax
je 0x4849cf
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, edi
call fcn.0042e5ac
mov byte [esi + 0x220], bl
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4876e0
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 [0x418474]
call fcn.00404fb0
xor eax, eax
push ebp
push 0x487824
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a81a4], 0
jne 0x487733
mov ecx, dword [0x4a8b10]
mov dl, 1
mov eax, dword [0x407b04]
call fcn.0040ca6c
call fcn.00404034
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040311c
mov eax, ebx
call fcn.00404e20
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x487834
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.00406330
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e30
test eax, eax
jle 0x4877cb
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 0x4877c4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404854
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040483c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040891c
test eax, eax
jne 0x4877c4
mov ebx, 0x15
jmp 0x4877d0
mov ebx, 0x10
jmp 0x4877d0
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 [0x4a81a4]
call fcn.004875dc
mov eax, dword [ebp - 8]
call fcn.004875dc
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48782b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 0x10]
mov edx, dword [0x418474]
call fcn.00405080
ret

Function at 0x48b240
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48b26e
mov eax, ebx
call fcn.0048bcf8
cmp dword [ebx + 0x3c], 0
je 0x48b267
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48b2df
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x48b2d1
cmp dword [ebx + 8], 0
je 0x48b290
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x48b2a2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48b2d1
cmp dword [ebx + 8], 0
je 0x48b283
cmp eax, 3
je 0x48b2b5
dec eax
jne 0x48b283
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 0x48b283
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x48b283
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48b2fd
cmp dword [ebx + 0x10], 0xcc
je 0x48b2fd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048b308
pop ebx
ret
Function at 0x49c18c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [0x49c164]
call fcn.00404fb0
xor eax, eax
push ebp
push 0x49c2c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040466c
lea eax, [ebp - 0x118]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404ae4
mov eax, dword [ebp - 0x118]
mov edx, 0x49c2dc
call fcn.004049d0
jne 0x49c212
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049c300
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0040466c
cmp dword [ebp - 4], 0
je 0x49c224
mov eax, dword [ebp - 4]
call fcn.00408d38
test al, al
jne 0x49c277
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x114]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
mov eax, dword [ebp - 4]
call fcn.0040488c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x49c267
lea eax, [ebp - 4]
mov edx, 0x49c2e8
call fcn.00404894
lea eax, [ebp - 4]
mov edx, 0x49c2f4
call fcn.00404894
mov dword [ebp - 0x10], esi
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
call sub.shell32.dll_ExtractIconExA
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c2cc
lea eax, [ebp - 0x118]
call fcn.004045d4
lea eax, [ebp - 0x14]
mov edx, dword [0x49c164]
call fcn.00405080
lea eax, [ebp - 4]
call fcn.004045d4
ret
Function at 0x49c788
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x49c8c3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
call sub.kernel32.dll__lopen
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49c891
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00408a40
mov eax, dword [ebp - 8]
call fcn.0040488c
dec eax
sub eax, 3
jb 0x49c803
sub eax, 3
jb 0x49c814
jmp 0x49c845
mov eax, esi
mov ecx, 0x49c8d8
mov edx, dword [ebp - 8]
call fcn.004048d8
jmp 0x49c87a
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x49c8e0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x10]
mov eax, 0x49c8ec
call fcn.0040a4f8
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ecx, 0x49c8fc
call fcn.004048d8
jmp 0x49c87a
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fdiv dword [0x49c8e0]
fdiv dword [0x49c8e0]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x18]
mov eax, 0x49c8ec
call fcn.0040a4f8
mov edx, dword [ebp - 0x18]
mov eax, esi
mov ecx, 0x49c908
call fcn.004048d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c898
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll__lclose
ret

Function at 0x49c90c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c9e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x469458]
call fcn.00469558
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49c996
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.004695f8
lea eax, [ebp - 8]
mov edx, 0x49c9f4
call fcn.0040466c
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0046965c
test al, al
je 0x49c980
mov ecx, dword [ebp - 4]
mov edx, 0x49ca40
mov eax, dword [ebp - 0xc]
call fcn.00469824
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c99d
mov eax, dword [ebp - 0xc]
call fcn.00403868
ret