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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a200]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a1e1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a1f0
or bl, 4
test esi, 0x20000000
je 0x45a1fb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4608c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4608d6
add esp, 0xfffffff0
call fcn.00403acc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f6e8
mov eax, dword [0x4a0f40]
mov dword [eax + 4], ebx
mov dword [eax], 0x460c68
mov eax, dword [0x4a0f50]
mov dword [eax + 4], ebx
mov dword [eax], 0x460c74
mov eax, ebx
call fcn.00460c80
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41633c]
call fcn.00403764
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41633c]
call fcn.00403764
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41633c]
call fcn.00403764
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41633c]
call fcn.00403764
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41633c]
call fcn.00403764
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, 0x45d098
push eax
push 0
push 0
mov eax, dword [0x4a11c0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42116c]
call fcn.004229a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42116c]
call fcn.004229a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42116c]
call fcn.004229a4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004610d0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460f98
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460f98
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460f98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460a13
call fcn.00403b24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460d7c
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 0x460f27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460f08
mov dl, 1
mov eax, dword [0x4169a0]
call fcn.00403764
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460ef7
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.0044e428
test al, al
je 0x460eea
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, 0x460f38
lea eax, [ebp - 0x254]
call fcn.00409bcc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460eea
xor eax, eax
push ebp
push 0x460ee3
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 0x460f70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460ecc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404814
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 0x460ecc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460eea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460ded
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b158
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 0x460f2e
lea eax, [ebp - 0x260]
call fcn.004045a4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a2bc0]
cmp byte [eax + 0xa5], 0
jne 0x4618e1
cmp dword [0x4a2bd8], 0
jne 0x4618a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46182c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a2bd8], eax
cmp dword [0x4a2bd4], 0
jne 0x4618bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a2bd4], eax
cmp dword [0x4a2bdc], 0
jne 0x4618e1
push esp
push 0
push 0
push 0x4617d0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a2bdc], eax
pop edx
ret
Function at 0x461fec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a2bc0]
cmp dword [eax + 0x30], 0
je 0x462096
cmp dword [ebx + 0x94], 0
jne 0x462090
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461f7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462090
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 0x462056
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462090
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.004189f4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462065
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462bf4
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 0x462c29
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.00404694
jmp 0x462c36
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463e00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463e41
mov eax, esi
call fcn.00449a54
test al, al
je 0x463e41
mov eax, dword [ebx + 0x84]
call fcn.00449750
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463e41
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449750
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4647b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x464864
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x105
mov eax, esi
call fcn.004045a4
mov eax, ebx
call fcn.00402ad0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464847
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x464831
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 4]
call fcn.0040328c
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.00404808
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, 0x46487c
call fcn.004048b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46484e
mov eax, dword [ebp - 4]
call fcn.00402b00
ret
Function at 0x464880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404a54
xor eax, eax
push ebp
push 0x464956
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push ebx
mov eax, dword [0x4a2668]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
mov eax, dword [0x4a2668]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x416cb4]
call fcn.00403764
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x464939
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [0x4a2668]
push eax
call sub.kernel32.dll_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0041b91c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464940
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
mov eax, dword [ebp - 0xc]
call fcn.00403794
ret
Function at 0x464ed4
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 [0x4158a4]
call fcn.00404f40
xor eax, eax
push ebp
push 0x465018
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49fedc], 0
jne 0x464f27
mov ecx, dword [0x4a0de0]
mov dl, 1
mov eax, dword [0x407ac8]
call fcn.0040c80c
call fcn.00403f34
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403198
mov eax, ebx
call fcn.00404dec
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x465028
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.00406094
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dfc
test eax, eax
jle 0x464fbf
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 0x464fb8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040482c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404814
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004089ac
test eax, eax
jne 0x464fb8
mov ebx, 0x15
jmp 0x464fc4
mov ebx, 0x10
jmp 0x464fc4
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 [0x49fedc]
call fcn.00464e2c
mov eax, dword [ebp - 8]
call fcn.00464e2c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004060ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46501f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 0x10]
mov edx, dword [0x4158a4]
call fcn.00405010
ret
Function at 0x46c550
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, edx
mov esi, 0x49ffd0
test edi, edi
je 0x46c67a
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, edi
mov ecx, 3
xor edx, edx
div ecx
lea ecx, [eax + eax*2]
mov edx, dword [esp]
add edx, ecx
jmp 0x46c5e8
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, 8
mov ebx, dword [esp]
movzx ebx, byte [ebx + 1]
or eax, ebx
shl eax, 8
mov ebx, dword [esp]
movzx ebx, byte [ebx + 2]
or eax, ebx
add dword [esp], 3
mov ebx, eax
and ebx, 0x3f
mov bl, byte [esi + ebx]
mov ebp, dword [esp + 4]
mov byte [ebp + 3], bl
shr eax, 6
mov ebx, eax
and ebx, 0x3f
mov bl, byte [esi + ebx]
mov ebp, dword [esp + 4]
mov byte [ebp + 2], bl
shr eax, 6
mov ebx, eax
and ebx, 0x3f
mov bl, byte [esi + ebx]
mov ebp, dword [esp + 4]
mov byte [ebp + 1], bl
shr eax, 6
mov al, byte [esi + eax]
mov ebx, dword [esp + 4]
mov byte [ebx], al
add dword [esp + 4], 4
cmp edx, dword [esp]
ja 0x46c582
sub edi, ecx
dec edi
je 0x46c5fa
dec edi
je 0x46c630
jmp 0x46c67a
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, 4
mov edx, eax
and edx, 0x3f
mov dl, byte [esi + edx]
mov ecx, dword [esp + 4]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [esi + eax]
mov edx, dword [esp + 4]
mov byte [edx], al
mov eax, dword [esp + 4]
mov byte [eax + 2], 0x3d
mov eax, dword [esp + 4]
mov byte [eax + 3], 0x3d
jmp 0x46c67a
mov eax, dword [esp]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [esp]
movzx edx, byte [edx + 1]
or eax, edx
shl eax, 2
mov edx, eax
and edx, 0x3f
mov dl, byte [esi + edx]
mov ecx, dword [esp + 4]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [esi + edx]
mov ecx, dword [esp + 4]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [esi + eax]
mov edx, dword [esp + 4]
mov byte [edx], al
mov eax, dword [esp + 4]
mov byte [eax + 3], 0x3d
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46eb90
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004074c4
ret
Function at 0x46ef58
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x198], edx
mov ebx, eax
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x46f0a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
je 0x46f07d
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x44]
xor edx, edx
push ebp
push 0x46f073
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x89]
push eax
push 0x81
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
jne 0x46efd4
pop dword fs:[0]
add esp, 8
jmp 0x46f07d
cmp eax, 0x81
jbe 0x46efe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f07d
lea eax, [ebp - 0x89]
mov dword [esi], eax
jmp 0x46f058
lea eax, [ebp - 0x194]
mov edx, dword [esi]
call fcn.0040328c
lea edx, [ebp - 0x194]
lea eax, [ebp - 0x94]
call fcn.00404808
push dword [ebp - 0x94]
push 0x46f0c0
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x198]
call fcn.00408d84
push dword [ebp - 0x198]
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.00404924
mov edx, dword [ebp - 0x90]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add dword [esi], 4
mov eax, dword [esi]
cmp byte [eax], 0
jne 0x46eff2
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f07d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f0ad
lea eax, [ebp - 0x198]
call fcn.004045a4
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004045c8
ret

Function at 0x46fd2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00404864
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.00404bf0
mov eax, edi
call fcn.00404a64
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
call fcn.00404abc
mov dword [ebp - 8], eax
mov eax, edi
call fcn.00404864
test eax, eax
jle 0x46fdbe
mov edx, esi
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx]
mov ecx, dword [ebp - 8]
mov byte [ecx], dl
test bl, bl
je 0x46fd97
and edx, 0xff
add esi, edx
imul edx, esi, 0x1703
add edx, 0x1720
mov esi, edx
jmp 0x46fdad
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
add esi, edx
imul edx, esi, 0x1703
add edx, 0x1720
mov esi, edx
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
dec eax
jne 0x46fd6c
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x471118
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47125c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045a4
mov eax, 0xff
call fcn.00402ad0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47122f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x471207
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x220]
mov edx, dword [ebp - 0xc]
call fcn.0040479c
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.00409308
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 8]
mov ecx, 0x471274
call fcn.004048b0
push 0xff
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xff
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a64
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.00408dd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x471219
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471236
mov eax, dword [ebp - 0xc]
call fcn.00402b00
ret
Function at 0x47efb4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47efbc
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47f1ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47f1c4
mov eax, esi
call fcn.0047ce40
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004045f8
lea ecx, [ebp - 0x10]
mov edx, 0x47f1d8
mov eax, esi
call fcn.0047ce40
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004045f8
lea ecx, [ebp - 0x14]
mov edx, 0x47f1f0
mov eax, esi
call fcn.0047ce40
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004045f8
lea ecx, [ebp - 0x18]
mov edx, 0x47f20c
mov eax, esi
call fcn.0047ce40
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004045f8
lea ecx, [ebp - 0x1c]
mov edx, 0x47f228
mov eax, esi
call fcn.0047ce40
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004045f8
lea ecx, [ebp - 0x24]
mov edx, 0x47f240
mov eax, esi
call fcn.0047ce40
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408a1c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408e40
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47f258
mov eax, esi
call fcn.0047ce40
mov eax, dword [ebp - 0x28]
call fcn.00476918
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47f268
mov eax, esi
call fcn.0047ce40
mov eax, dword [ebp - 0x2c]
call fcn.00476918
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47f280
mov eax, esi
call fcn.0047ce40
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408e40
inc eax
je 0x47f151
lea ecx, [ebp - 0x34]
mov edx, 0x47f280
mov eax, esi
call fcn.0047ce40
mov eax, dword [ebp - 0x34]
call fcn.00408e04
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a578
fstp qword [ebp - 0x3c]
wait
call fcn.0040a8e8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47f16c
lea ecx, [ebp - 0x40]
mov edx, 0x47f280
mov eax, esi
call fcn.0047ce40
mov eax, dword [ebp - 0x40]
call fcn.00476918
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47f290
mov eax, esi
call fcn.0047ce40
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004045f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f1b5
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045c8
ret
Function at 0x485f40
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 0x485f9a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00485f30
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00475584
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00475184
mov edx, dword [esi + 8]
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 0x485fa1
lea eax, [ebp - 4]
call fcn.004045a4
ret

Function at 0x48b150
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x48b1a1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x48b188
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x48b178
jmp 0x48b1a1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x48b189
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4988a4
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00418db8
mov esi, eax
xor eax, eax
push ebp
push 0x49891e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x498902
mov edx, ebx
mov eax, esi
call fcn.004189f4
test byte [eax + 0x58], 1
je 0x4988fc
push 0
mov edx, ebx
mov eax, esi
call fcn.004189f4
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.004188e4
dec ebx
cmp ebx, 0xffffffff
jne 0x4988d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498925
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00418e1c
ret
Function at 0x4996b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a54
xor eax, eax
push ebp
push 0x49975e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a64
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, ebx
call fcn.00402ad0
mov esi, eax
push esi
push ebx
push 0
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402efc
mov eax, dword [ebp - 0x14]
call fcn.00404a64
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x49976c
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 4], eax
mov edx, ebx
mov eax, esi
call fcn.00402b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499765
lea eax, [ebp - 0x14]
call fcn.004045a4
lea eax, [ebp - 4]
call fcn.004045a4
ret