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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c4c64]
cmp byte [eax + 0xc], 0
je 0x4598ad
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4598a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c5c48], 0
jne 0x459794
push 0x4598b4
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov ebx, eax
push 0x4598bc
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c48], eax
cmp dword [0x4c2d2c], 0
jne 0x45988f
push 0x4598cc
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4c2d2c], eax
cmp dword [0x4c2d2c], 0
je 0x45988f
push 0x4598d8
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c4c], eax
push 0x4598e8
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c50], eax
push 0x4598fc
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c54], eax
push 0x459914
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c58], eax
push 0x45992c
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c5c], eax
push 0x459940
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c60], eax
push 0x459958
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c64], eax
push 0x459970
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c68], eax
push 0x45998c
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c6c], eax
push 0x459998
mov eax, dword [0x4c2d2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x4c5c70], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4598ad
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45dbd8
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.00404a9c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45dc27
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.00404d04
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4663ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46643c]
test si, 4
je 0x466400
or bl, 1
test si, 8
je 0x46640a
or bl, 4
test si, 1
je 0x466414
or bl, 8
test si, 2
je 0x46641e
or bl, 0x10
test si, 0x10
je 0x466428
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466437
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x466440
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466478]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466459
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466468
or bl, 4
test esi, 0x20000000
je 0x466473
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46cdd4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46cde6
add esp, 0xfffffff0
call fcn.00404094
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004255a4
mov eax, dword [0x4c4894]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d178
mov eax, dword [0x4c48a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d184
mov eax, ebx
call fcn.0046d190
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a67c]
call fcn.00403d00
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a67c]
call fcn.00403d00
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a67c]
call fcn.00403d00
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a67c]
call fcn.00403d00
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a67c]
call fcn.00403d00
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, 0x469658
push eax
push 0
push 0
mov eax, dword [0x4c4a04]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427060]
call fcn.00428774
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427060]
call fcn.00428774
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427060]
call fcn.00428774
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046d5f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d4d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d4d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46d4d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46cf23
call fcn.004040ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46d2b8
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 0x46d463
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46d444
mov dl, 1
mov eax, dword [0x41ace0]
call fcn.00403d00
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a9c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46d433
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.00459aa0
test al, al
je 0x46d426
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, 0x46d474
lea eax, [ebp - 0x254]
call fcn.0040a86c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46d426
xor eax, eax
push ebp
push 0x46d41f
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 0x46d4ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46d408
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d04
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 0x46d408
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d426
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46d329
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041fa8c
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 0x46d46a
lea eax, [ebp - 0x260]
call fcn.00404a9c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c5c8c]
cmp byte [eax + 0xa5], 0
jne 0x46de09
cmp dword [0x4c5ca4], 0
jne 0x46ddca
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46dd54
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c5ca4], eax
cmp dword [0x4c5ca0], 0
jne 0x46dde5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4c5ca0], eax
cmp dword [0x4c5ca8], 0
jne 0x46de09
push esp
push 0
push 0
push 0x46dcf8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4c5ca8], eax
pop edx
ret
Function at 0x46df30
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46df47
add esp, 0xfffffff0
call fcn.00404094
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004255a4
mov eax, dword [0x4c49ec]
cmp word [eax + 2], 0
jne 0x46df6f
mov eax, dword [0x4c49ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046f60c
mov eax, dword [0x4c4aac]
cmp word [eax + 2], 0
jne 0x46df89
mov eax, dword [0x4c4aac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046f804
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a67c]
call fcn.00403d00
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a67c]
call fcn.00403d00
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 [0x427ae0]
call fcn.0042f1a4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46e110
mov eax, dword [0x4c4908]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f574
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46fd74
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c4908]
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.0040e0dc
test eax, eax
je 0x46e07e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a114
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e104
test eax, eax
je 0x46e092
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.00404d04
mov eax, dword [0x4c47ac]
cmp byte [eax], 0
jne 0x46e0c6
mov eax, ebx
call fcn.0046e238
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.0046ff50
mov eax, ebx
call fcn.00470900
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46e106
call fcn.004040ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e4ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c5c8c]
cmp dword [eax + 0x30], 0
je 0x46e556
cmp dword [ebx + 0x94], 0
jne 0x46e550
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46e43c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46e550
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 0x46e516
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46e550
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.0041cf30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46e525
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f034
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 0x46f069
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.00404b8c
jmp 0x46f076
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404af0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47012c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47016d
mov eax, esi
call fcn.00455198
test al, al
je 0x47016d
mov eax, dword [ebx + 0x84]
call fcn.00454e94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47016d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454e94
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x472ac8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472b48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 2
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404d04
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, 0x472b5c
call fcn.00404da0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472b4f
lea eax, [ebp - 0x110]
call fcn.00404a9c
ret
Function at 0x472e24
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f3c
xor eax, eax
push ebp
push 0x472f53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a9c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f4c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x472f3d
mov eax, dword [ebp - 0xc]
call fcn.00408d80
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x472f36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x472ea7
call fcn.004045a8
jmp 0x472f3d
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x472f64
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov esi, eax
lea edi, [ebp - 0x48]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
push ebx
mov eax, dword [ebp - 0x40]
call fcn.00407be0
movzx eax, ax
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
movzx eax, word [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0x3c]
call fcn.00407be0
movzx eax, ax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
movzx eax, word [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
lea edx, [ebp - 0x68]
mov ecx, 3
mov eax, 0x472f70
call fcn.0040a8ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472f3d
mov eax, dword [ebp - 8]
call fcn.0040278c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472f5a
lea eax, [ebp - 4]
call fcn.00404a9c
ret

Function at 0x473bac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x473c9c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x401
lea eax, [ebp - 0x401]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x401
lea eax, [ebp - 0x802]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov eax, ebx
mov ecx, dword [esi + 4]
mov edx, 0x473cb4
call fcn.00473adc
lea edx, [ebp - 0x808]
mov eax, dword [esi + 0x18]
call fcn.00409c24
mov ecx, dword [ebp - 0x808]
mov eax, ebx
mov edx, 0x473cc4
call fcn.00473adc
lea eax, [ebp - 0x80c]
lea edx, [ebp - 0x401]
mov ecx, 0x401
call fcn.00404d04
mov ecx, dword [ebp - 0x80c]
mov eax, ebx
mov edx, 0x473cd4
call fcn.00473adc
lea eax, [ebp - 0x810]
lea edx, [ebp - 0x802]
mov ecx, 0x401
call fcn.00404d04
mov ecx, dword [ebp - 0x810]
mov eax, ebx
mov edx, 0x473ce4
call fcn.00473adc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473ca3
lea eax, [ebp - 0x810]
mov edx, 3
call fcn.00404ac0
ret
Function at 0x484128
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 0x484200
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c5d34], 0
jne 0x4841e4
lea eax, [ebp - 4]
mov edx, 0x484218
call fcn.00404b34
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f4c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4841e4
mov eax, ebx
call fcn.0040276c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4841dd
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 0x4841c7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x484228
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4841c7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4c5d34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4841e4
mov eax, dword [ebp - 0xc]
call fcn.0040278c
ret
mov ebx, dword [0x4c5d34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484207
lea eax, [ebp - 4]
call fcn.00404a9c
ret

Function at 0x49f95c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49fa40
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41ace0]
call fcn.00403d00
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00404d54
mov esi, eax
test esi, esi
jle 0x49f9c6
mov ebx, 1
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x5c
jne 0x49f9c2
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404fac
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x49f99c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x49fa1d
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0040992c
test al, al
jne 0x49fa19
push 0
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404f4c
push eax
call sub.KERNEL32.DLL_CreateDirectoryA_1
inc ebx
dec esi
jne 0x49f9e3
mov eax, dword [ebp - 8]
call fcn.00403d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fa47
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404ac0
ret
Function at 0x4a7ab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x104], edx
mov esi, eax
lea edi, [ebp - 0x100]
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
xor eax, eax
push ebp
push 0x4a7b4c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00404cf8
lea eax, [ebp - 0x104]
mov edx, 0x4a7b64
call fcn.00404d5c
mov edx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404d30
lea eax, [ebp - 0xff]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4a7b2d
test al, 0x10
jne 0x4a7b31
xor ebx, ebx
jmp 0x4a7b33
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7b53
lea eax, [ebp - 0x104]
call fcn.00404a9c
ret

Function at 0x4a7d1c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov esi, dword [eax]
mov edi, edx
mov edx, ecx
test dx, dx
jbe 0x4a7d4d
mov ecx, esi
xor cl, byte [edi]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c4370]
shr esi, 8
and esi, 0xffffff
xor ecx, esi
mov esi, ecx
inc edi
dec dx
jne 0x4a7d29
mov dword [eax], esi
pop edi
pop esi
ret

Function at 0x4acdc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4acea4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41ace0]
call fcn.00403d00
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00404d54
mov esi, eax
test esi, esi
jle 0x4ace2a
mov ebx, 1
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x5c
jne 0x4ace26
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404fac
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x4ace00
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4ace81
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0040992c
test al, al
jne 0x4ace7d
push 0
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404f4c
push eax
call sub.KERNEL32.DLL_CreateDirectoryA_1
inc ebx
dec esi
jne 0x4ace47
mov eax, dword [ebp - 8]
call fcn.00403d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aceab
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404ac0
ret
Function at 0x4b9670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x4b9686
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x4b967f
mov eax, esp
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, esi
test edi, edi
jl 0x4b96e2
inc edi
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.00428488
mov ecx, eax
mov eax, ecx
and eax, 0xff
cdq
idiv esi
add dword [ebp - 8], eax
mov eax, ecx
and eax, 0xff00
shr eax, 8
cdq
idiv esi
add dword [ebp - 0xc], eax
mov eax, ecx
and eax, 0xff0000
shr eax, 0x10
cdq
idiv esi
add dword [ebp - 0x10], eax
add ebx, 4
dec edi
jne 0x4b96a6
mov cl, byte [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov al, byte [ebp - 8]
call fcn.00407c3c
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4c0158
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], esp
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 0xc]
imul dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0x1c
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_VirtualQuery_1
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x402fc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x4034e0
test edx, edx
je 0x4034e0
call fcn.00402fd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x406cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00406cc9