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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x479e38]
cmp byte [eax + 0xc], 0
je 0x443289
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443282
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47ab94], 0
jne 0x443170
push 0x443290
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443298
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab94], eax
cmp dword [0x477bb8], 0
jne 0x44326b
push 0x4432a8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x477bb8], eax
cmp dword [0x477bb8], 0
je 0x44326b
push 0x4432b4
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab98], eax
push 0x4432c4
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab9c], eax
push 0x4432d8
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba0], eax
push 0x4432f0
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba4], eax
push 0x443308
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba8], eax
push 0x44331c
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abac], eax
push 0x443334
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb0], eax
push 0x44334c
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb4], eax
push 0x443368
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb8], eax
push 0x443374
mov eax, dword [0x477bb8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443289
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4478c0
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.00404450
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44790f
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.004046c0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f0e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f130]
test si, 4
je 0x44f0f4
or bl, 1
test si, 8
je 0x44f0fe
or bl, 4
test si, 1
je 0x44f108
or bl, 8
test si, 2
je 0x44f112
or bl, 0x10
test si, 0x10
je 0x44f11c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f12b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f134
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f16c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f14d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f15c
or bl, 4
test esi, 0x20000000
je 0x44f167
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455830
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455842
add esp, 0xfffffff0
call fcn.004039c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d1a8
mov eax, dword [0x4798dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x455bd4
mov eax, dword [0x4798ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x455be0
mov eax, ebx
call fcn.00455bec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.00403658
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.00403658
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.00403658
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.00403658
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4154a0]
call fcn.00403658
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, 0x452004
push eax
push 0
push 0
mov eax, dword [0x479b14]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ec1c]
call fcn.004203b4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ec1c]
call fcn.004203b4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ec1c]
call fcn.004203b4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004560f0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455f70
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455f70
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455f70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45597f
call fcn.00403a18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455d54
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 0x455eff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455ee0
mov dl, 1
mov eax, dword [0x4158bc]
call fcn.00403658
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404450
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455ecf
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.0044347c
test al, al
je 0x455ec2
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, 0x455f10
lea eax, [ebp - 0x254]
call fcn.004094c8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455ec2
xor eax, eax
push ebp
push 0x455ebb
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 0x455f48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455ea4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046c0
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 0x455ea4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455ec2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455dc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419398
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 0x455f06
lea eax, [ebp - 0x260]
call fcn.00404450
ret

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

Disassembly:
push ecx
mov eax, dword [0x47abe0]
cmp byte [eax + 0xa5], 0
jne 0x456901
cmp dword [0x47abf8], 0
jne 0x4568c2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45684c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47abf8], eax
cmp dword [0x47abf4], 0
jne 0x4568dd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47abf4], eax
cmp dword [0x47abfc], 0
jne 0x456901
push esp
push 0
push 0
push 0x4567f0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47abfc], eax
pop edx
ret
Function at 0x456f94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47abe0]
cmp dword [eax + 0x30], 0
je 0x45703e
cmp dword [ebx + 0x94], 0
jne 0x457038
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456f24
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457038
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 0x456ffe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457038
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.00417808
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45700d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457b9c
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 0x457bd1
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.00404540
jmp 0x457bde
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458cf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458d31
mov eax, esi
call fcn.0043eaa8
test al, al
je 0x458d31
mov eax, dword [ebx + 0x84]
call fcn.0043e7a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458d31
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043e7a4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459908
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.004044a4
mov eax, dword [esp]
call fcn.00404710
mov edi, eax
test edi, edi
jle 0x459965
mov ebx, 1
mov eax, ebp
call fcn.00404968
mov edx, dword [esp]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0x856b
add ax, 0x29e2
mov esi, eax
inc ebx
dec edi
jne 0x459931
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x459db0
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
call sub.kernel32.dll_GetCurrentProcessId
mov ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edi]
shr eax, 0x10
shl eax, 0x10
mov dword [edi], eax
mov eax, ebx
shl eax, 0x10
sub dword [edi], eax
mov eax, dword [edi]
xor edx, edx
div esi
imul esi
mov dword [edi], eax
push 4
push 0x3000
push esi
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x459e44
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
je 0x459e44
push 0x8000
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
inc ebx
jmp 0x459ee0
cmp dword [esp + 0x10], 0
jne 0x459ee9
push 0x1c
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x48], 0x118
jb 0x459edb
mov eax, dword [esp + 0x50]
and eax, 4
cmp eax, 4
jne 0x459edb
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x459e96
cmp eax, dword [esp]
pop edx
pop eax
jne 0x459edb
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x110]
cmp edx, dword [esp + 4]
jne 0x459ec3
cmp eax, dword [esp]
pop edx
pop eax
jne 0x459edb
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403028
je 0x459ee9
inc ebx
xor eax, eax
mov dword [edi], eax
cmp ebx, 0x14
jle 0x459de9
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
je 0x459f67
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x459f8d
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
call fcn.00402f7c
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [edi]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [edi]
mov dword [eax + 0x108], 1
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [eax], 1
jmp 0x459f8d
cmp dword [edi], 0
je 0x459f8d
mov eax, dword [edi]
inc dword [eax + 0x108]
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45c904
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cac4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403098
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x47852c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x478530], eax
mov eax, dword [ebp - 0x24]
mov dword [0x478534], eax
mov eax, dword [0x479e28]
cmp dword [eax], 2
sete byte [0x477fe4]
push 0x45cad0
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0045d128
cmp byte [0x477fe4], 0
jne 0x45c990
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0045d158
test al, al
je 0x45c990
mov eax, dword [ebp - 0x4c]
mov dword [0x47b17c], eax
jmp 0x45c997
xor eax, eax
mov dword [0x47b17c], eax
call fcn.0045c67c
and eax, 0x7f
cmp eax, 0x10
ja case.0x45c9a8.0
jmp dword [eax*4 + 0x45c9af]
mov byte [0x477fd0], 1
jmp case.0x45c9a8.0
mov byte [0x477fd4], 1
jmp case.0x45c9a8.0
mov byte [0x477fd8], 1
jmp case.0x45c9a8.0
mov byte [0x477fdc], 1
jmp case.0x45c9a8.0
mov byte [0x477fe0], 1
jmp case.0x45c9a8.0
mov byte [0x477fe8], 1
mov byte [0x477fec], 1
jmp case.0x45c9a8.0
mov byte [0x477fe8], 1
mov byte [0x477ff0], 1
jmp case.0x45c9a8.0
mov byte [0x477fe8], 1
mov byte [0x477ff0], 1
mov byte [0x477ff4], 1
jmp case.0x45c9a8.0
mov byte [0x477ff8], 1
jmp case.0x45c9a8.0
mov byte [0x477ffc], 1
jmp case.0x45c9a8.0
mov byte [0x478000], 1
jmp case.0x45c9a8.0
mov byte [0x478004], 1
jmp case.0x45c9a8.0
mov byte [0x478008], 1
jmp case.0x45c9a8.0
mov byte [0x47800c], 1
jmp case.0x45c9a8.0
mov byte [0x478010], 1
jmp case.0x45c9a8.0
mov byte [0x478014], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cacb
lea eax, [ebp - 4]
call fcn.00404450
ret

Function at 0x45d158
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 - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45d1ff
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404910
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x45d1e9
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404a9c
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404910
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45d1e9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45d210
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45d1e9
cmp dword [ebp - 8], 0x34
jne 0x45d1e9
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d206
lea eax, [ebp - 0x10]
call fcn.00404450
ret
Function at 0x45e8fc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45e9d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004044e8
lea eax, [ebp - 8]
call fcn.00404960
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404910
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45e9ba
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45e9b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404910
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45e99d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45e9e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45e99d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e9ba
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e9d7
lea eax, [ebp - 8]
call fcn.00404450
ret

Function at 0x46230c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46233a
mov eax, ebx
call fcn.00462dc0
cmp dword [ebx + 0x40], 0
je 0x462333
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4623ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46239d
cmp dword [ebx + 8], 0
je 0x46235c
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 0x46236e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46239d
cmp dword [ebx + 8], 0
je 0x46234f
cmp eax, 3
je 0x462381
dec eax
jne 0x46234f
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 0x46234f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46234f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4623c9
cmp dword [ebx + 0x14], 0xcc
je 0x4623c9
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.004623d4
pop ebx
ret
Function at 0x473aa4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x473b17
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 4], edx
test al, al
je 0x473b01
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00473900
cmp dword [ebp - 8], 0
je 0x473af6
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00414d44
test al, al
je 0x473b01
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x473b01
mov eax, dword [ebp - 0xc]
call fcn.004739fc
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473b1e
lea eax, [ebp - 0xc]
call fcn.00404450
ret

Function at 0x473bb8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x473c72
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x473be1
mov eax, ebx
call fcn.00404450
jmp 0x473c5c
mov ecx, ebx
lea edx, [ebp - 4]
call fcn.00473900
cmp dword [ebp - 4], 0
je 0x473c5c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00414d38
test al, al
je 0x473c55
xor eax, eax
push ebp
push 0x473c4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00473b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473c5c
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00414d38
test al, al
je 0x473c4d
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473c79
lea eax, [ebp - 0xc]
call fcn.00405e4c
ret
Function at 0x475b04
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 8
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 0x18]
push eax
push 0x40
push 8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
xor eax, eax
push ebp
push 0x475b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475b8f
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 8
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x34276363
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2a1b0012
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219