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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46baf8]
cmp byte [eax + 0xc], 0
je 0x43e941
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e93a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46cb90], 0
jne 0x43e828
push 0x43e948
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43e950
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb90], eax
cmp dword [0x46ab98], 0
jne 0x43e923
push 0x43e960
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ab98], eax
cmp dword [0x46ab98], 0
je 0x43e923
push 0x43e96c
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb94], eax
push 0x43e97c
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb98], eax
push 0x43e990
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cb9c], eax
push 0x43e9a8
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba0], eax
push 0x43e9c0
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba4], eax
push 0x43e9d4
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cba8], eax
push 0x43e9ec
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbac], eax
push 0x43ea04
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb0], eax
push 0x43ea20
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb4], eax
push 0x43ea2c
mov eax, dword [0x46ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46cbb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e941
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4427cc
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.00404238
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44281b
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.004044a8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449fec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a03c]
test si, 4
je 0x44a000
or bl, 1
test si, 8
je 0x44a00a
or bl, 4
test si, 1
je 0x44a014
or bl, 8
test si, 2
je 0x44a01e
or bl, 0x10
test si, 0x10
je 0x44a028
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a037
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a040
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a078]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a059
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a068
or bl, 4
test esi, 0x20000000
je 0x44a073
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45073c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45074e
add esp, 0xfffffff0
call fcn.004037e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004199a8
mov eax, dword [0x46b7c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x450ae0
mov eax, dword [0x46b7cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x450aec
mov eax, ebx
call fcn.00450af8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411ca0]
call fcn.0040347c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411ca0]
call fcn.0040347c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411ca0]
call fcn.0040347c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411ca0]
call fcn.0040347c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411ca0]
call fcn.0040347c
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, 0x44cf10
push eax
push 0
push 0
mov eax, dword [0x46b910]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b414]
call fcn.0041cbac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b414]
call fcn.0041cbac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b414]
call fcn.0041cbac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450f48
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e10
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e10
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e10
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45088b
call fcn.0040383c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450bf4
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 0x450d9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450d80
mov dl, 1
mov eax, dword [0x4120bc]
call fcn.0040347c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404238
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450d6f
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.0043eb34
test al, al
je 0x450d62
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, 0x450db0
lea eax, [ebp - 0x254]
call fcn.00408ef4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450d62
xor eax, eax
push ebp
push 0x450d5b
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 0x450de8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450d44
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044a8
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 0x450d44
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450d62
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450c65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415b98
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 0x450da6
lea eax, [ebp - 0x260]
call fcn.00404238
ret

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

Disassembly:
push ecx
mov eax, dword [0x46cbdc]
cmp byte [eax + 0xa5], 0
jne 0x451759
cmp dword [0x46cbf4], 0
jne 0x45171a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4516a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46cbf4], eax
cmp dword [0x46cbf0], 0
jne 0x451735
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46cbf0], eax
cmp dword [0x46cbf8], 0
jne 0x451759
push esp
push 0
push 0
push 0x451648
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46cbf8], eax
pop edx
ret
Function at 0x451dec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cbdc]
cmp dword [eax + 0x30], 0
je 0x451e96
cmp dword [ebx + 0x94], 0
jne 0x451e90
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451d7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451e90
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 0x451e56
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451e90
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.00414008
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451e65
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4529f4
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 0x452a29
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.00404328
jmp 0x452a36
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040428c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453b60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453ba1
mov eax, esi
call fcn.0043a160
test al, al
je 0x453ba1
mov eax, dword [ebx + 0x84]
call fcn.00439e5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453ba1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439e5c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45728c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4572ba
mov eax, ebx
call fcn.00457d40
cmp dword [ebx + 0x40], 0
je 0x4572b3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45732b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45731d
cmp dword [ebx + 8], 0
je 0x4572dc
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 0x4572ee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45731d
cmp dword [ebx + 8], 0
je 0x4572cf
cmp eax, 3
je 0x457301
dec eax
jne 0x4572cf
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 0x4572cf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4572cf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x457349
cmp dword [ebx + 0x14], 0xcc
je 0x457349
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.00457354
pop ebx
ret
Function at 0x100038fe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x1000392c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x10003933
cmp ebx, dword [eax + 4]
jae 0x10003933
xor eax, eax
jmp 0x10003b23
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x10003944
xor eax, eax
inc eax
jmp 0x10003b22
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1000395a
cmp ecx, edx
jae 0x10003a9f
cmp dword [eax + 4], 0
je 0x10003963
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x1000394b
cmp dword [ebp + 8], 0
je 0x10003985
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x10003a9f
cmp eax, esi
jae 0x10003a9f
mov eax, dword [0x10007430]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x100039aa
cmp dword [esi*4 + 0x10007438], edi
je 0x10003aa3
inc esi
cmp esi, eax
jl 0x10003998
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.10009380
nop
test eax, eax
je 0x10003b1f
cmp dword [ebp - 8], 0x1000000
jne 0x10003b1f
test byte [ebp - 0xc], 0xcc
je 0x10003a28
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x10003b1f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10003b1f
cmp word [eax + 0x18], 0x10b
jne 0x10003b1f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x10003b1f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x10003a28
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x10003a28
test byte [ecx + 0x27], 0x80
jne 0x10003a9f
push 1
push 0x10007478
call fcn.10009540
nop
test eax, eax
jne 0x1000393c
mov ecx, dword [0x10007430]
test ecx, ecx
mov edx, ecx
jle 0x10003a5c
lea eax, [ecx*4 + 0x10007434]
cmp dword [eax], edi
je 0x10003a5c
dec edx
sub eax, 4
test edx, edx
jg 0x10003a50
test edx, edx
jne 0x10003a8d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x10003a69
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x10003a81
lea eax, [edx*4 + 0x10007438]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x10003a6f
cmp ecx, 0x10
jge 0x10003a8d
inc ecx
mov dword [0x10007430], ecx
push 0
push 0x10007478
call fcn.10009540
nop
jmp 0x1000393c
xor eax, eax
jmp 0x10003b22
test esi, esi
jle 0x1000393c
mov ebx, dword [0x10005094]
push 1
push 0x10007478
call ebx
test eax, eax
jne 0x1000393c
cmp dword [esi*4 + 0x10007438], edi
je 0x10003af9
mov eax, dword [0x10007430]
lea esi, [eax - 1]
test esi, esi
jl 0x10003ae7
cmp dword [esi*4 + 0x10007438], edi
je 0x10003ae3
dec esi
jns 0x10003ad7
test esi, esi
jge 0x10003af7
cmp eax, 0x10
jge 0x10003af2
inc eax
mov dword [0x10007430], eax
lea esi, [eax - 1]
jmp 0x10003af9
je 0x10003b11
xor ecx, ecx
test esi, esi
jl 0x10003b11
lea eax, [ecx*4 + 0x10007438]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x10003aff
push 0
push 0x10007478
call ebx
jmp 0x1000393c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10010b48
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x10010ba2
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0x10010b68
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x42ca40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x42ca4f
pop dword [ebp - 8]
mov eax, 0x8705e022
sub eax, 0x86c315d3
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x4ae42
push 0
mov eax, 0x2a39eb6f
add eax, 0xd609d6e9
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xa59f48c7
add ecx, 0x5a60f4bc
mov edx, eax
mov ebx, 0x46b200
add ebx, dword [ebp - 8]
mov edi, 0xc09db33e
sub edi, 0xbacc1a09
mov dword [ebp - 4], 0x7c7b258b
mov esi, dword [ebx]
xor dword [ebp - 4], 0x30cc2e2d
sub esi, edi
xor dword [ebp - 4], ecx
mov dword [edx], esi
xor dword [ebp - 4], 0xc5de1e13
add edx, 0xedb3dde5
sub edx, 0xedb3dde1
add ebx, 0x672f6e88
add ebx, 0x98d0917c
loop 0x42caa8
add eax, 0xaae3469d
sub eax, 0xaae25dbe
mov ebx, eax
add eax, 0xdfb54269
sub eax, 0xdfb54264
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x432550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a919
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push 0x11c
push 0
lea eax, [ebp - 0x13c]
push eax
call fcn.004148c0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4325d2
mov dword [ebp - 0x13c], 0x114
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4325e8
cmp dword [ebp - 0x138], 6
jb 0x4325e8
mov dword [ebp - 0x14], 1
movzx eax, byte [0x452c91]
test eax, eax
jne 0x43267e
cmp dword [ebp - 0x14], 0
je 0x43263b
push str.Vista_or_later
lea ecx, [ebp - 0x140]
call main
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call main
jmp 0x432677
push str.not_Vista_or_later
lea ecx, [ebp - 0x144]
call main
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x144]
push edx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call main
mov byte [0x452c91], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x546e89
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0x418ca0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bde0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004af3dc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x418d22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ac642
mov eax, dword [eax]
push 0x4e3228
push eax
call fcn.0048c254
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004af667
test bl, bl
je 0x418d22
push 0x4e3228
lea ecx, [esp + 0xc]
call fcn.004af9f7
push 0x4e6db8
lea ecx, [esp + 0xc]
call fcn.004af9f7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x418d5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004af667
jmp 0x418e29
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x418de2
lea edx, [esp + 0x7c]
push 0x4e6db4
push edx
call fcn.0048c254
add esp, 8
test eax, eax
je 0x418de2
lea eax, [esp + 0x7c]
push 0x4e6db0
push eax
call fcn.0048c254
add esp, 8
test eax, eax
je 0x418de2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x418d72
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004af667
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x419620
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x419682
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc