joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ac1c
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 0x45adc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ada8
mov dl, 1
mov eax, dword [0x41e380]
call fcn.00403f20
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ad97
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.004486ac
test al, al
je 0x45ad8a
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, 0x45add8
lea eax, [ebp - 0x254]
call fcn.0040bc08
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ad8a
xor eax, eax
push ebp
push 0x45ad83
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 0x45ae10
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ad6c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004050cc
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 0x45ad6c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004050cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ad8a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ac8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00422840
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 0x45adce
lea eax, [ebp - 0x260]
call fcn.00404e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b9e50]
cmp byte [eax + 0xa5], 0
jne 0x45b781
cmp dword [0x4b9e68], 0
jne 0x45b742
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b6cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b9e68], eax
cmp dword [0x4b9e64], 0
jne 0x45b75d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b9e64], eax
cmp dword [0x4b9e6c], 0
jne 0x45b781
push esp
push 0
push 0
push 0x45b670
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b9e6c], eax
pop edx
ret
Function at 0x45be0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b9e50]
cmp dword [eax + 0x30], 0
je 0x45beb6
cmp dword [ebx + 0x94], 0
jne 0x45beb0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45bd9c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45beb0
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 0x45be76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45beb0
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.0042031c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45be85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ca18
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 0x45ca4d
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.00404f3c
jmp 0x45ca5a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45da08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45da49
mov eax, esi
call fcn.00443eb4
test al, al
je 0x45da49
mov eax, dword [ebx + 0x84]
call fcn.00443c54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45da49
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443c54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45ef8c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f004
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b8384]
cmp byte [eax], 0
je 0x45efbc
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x45efe9
lea eax, [ebp - 4]
mov edx, esi
call fcn.00405084
mov eax, dword [ebp - 4]
call fcn.0040531c
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405084
mov eax, dword [ebp - 8]
call fcn.0040531c
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f00b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e70
ret
Function at 0x45f2c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.0040820c
cmp ax, 0xffff
jne 0x45f2e9
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x45f375
push eax
push edi
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x45f375
push edi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, ebx
dec eax
test eax, eax
jl 0x45f336
inc eax
mov edx, dword [ebp - 8]
movzx edx, word [edx]
add edx, edx
add edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
dec eax
jne 0x45f322
mov eax, dword [ebp - 8]
movzx esi, word [eax]
add dword [ebp - 8], 2
cmp dword [ebp - 4], 0
je 0x45f375
cmp dword [ebp + 8], 0
jle 0x45f375
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.004322dc
mov esi, eax
test esi, esi
jle 0x45f36c
mov ecx, esi
add ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408220
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x47fad0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x47fb82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0041ab94
lea eax, [ebx + 0x80]
call fcn.00406cd8
lea eax, [ebx + 0x84]
call fcn.00406cd8
xor eax, eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
xor eax, eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
xor eax, eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x68], eax
lea edx, [ebp - 4]
mov eax, dword [0x431024]
call fcn.004319bc
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x6c]
call fcn.00406cf0
lea eax, [ebx + 0x70]
call fcn.00406cd8
mov dword [ebx + 0x74], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fb89
lea eax, [ebp - 4]
call fcn.00406cd8
ret
Function at 0x49016c
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x4b87c4]
cmp dword [eax], 2
je 0x49018a
mov ecx, 0x2f7
mov edx, 0x4901bc
mov eax, 0x4901f4
call fcn.00404e2c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x49010c
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4ba000], eax
cmp dword [0x4ba000], 0
jne 0x4901b1
call fcn.00410268
ret

Function at 0x490520
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x4b8384]
cmp byte [eax], 0
jne 0x49054e
mov ecx, 0xad
mov edx, 0x49059c
mov eax, 0x4905d4
call fcn.00404e2c
mov eax, ebx
call fcn.00405578
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x49058d
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405718
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4905e8
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x4b8384]
cmp byte [eax], 0
jne 0x490609
mov ecx, 0xb9
mov edx, 0x490620
mov eax, 0x490658
call fcn.00404e2c
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret
Function at 0x4a3cb8
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4a3cce
add esp, 0xfffffff0
call fcn.00404270
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4a3dff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41ddf0]
call fcn.00403f20
mov dword [edi + 0xc], eax
mov dl, 1
mov eax, dword [0x49f670]
call fcn.0049f9e0
mov dword [edi + 0x24], eax
mov dl, 1
mov eax, dword [0x4a0c54]
call fcn.004a0df4
mov dword [edi + 0x1c], eax
lea edx, [ebp - 4]
mov eax, dword [0x46cf10]
call fcn.0046d02c
mov edx, dword [ebp - 4]
lea eax, [edi + 0x20]
call fcn.00406cf0
lea eax, [edi + 0x28]
call fcn.00405578
lea eax, [edi + 0x2c]
call fcn.00405578
lea eax, [edi + 0x30]
call fcn.00405578
xor eax, eax
mov dword [edi + 0x44], eax
mov dl, 1
mov eax, dword [0x49f5a8]
call fcn.0049fdf4
mov dword [edi + 4], eax
mov dl, 1
mov eax, dword [0x49f54c]
call fcn.004a0090
mov esi, eax
mov dword [edi + 8], esi
push 0xc08f4000
push 0
mov eax, dword [esi + 0x10]
call fcn.0049f920
lea edx, [ebp - 8]
mov eax, dword [0x46cf6c]
call fcn.0046d090
mov edx, dword [ebp - 8]
lea eax, [edi + 0x18]
call fcn.00406cf0
lea eax, [edi + 0x14]
call fcn.00405578
lea eax, [edi + 0x3c]
call fcn.00405578
lea eax, [edi + 0x40]
call fcn.00405578
lea eax, [edi + 0x48]
call fcn.00405578
lea eax, [edi + 0x4c]
call fcn.00405578
lea eax, [edi + 0x50]
call fcn.00405578
lea eax, [edi + 0x54]
call fcn.00405578
lea eax, [edi + 0x58]
call fcn.00405578
lea eax, [edi + 0x5c]
call fcn.00405578
mov byte [edi + 0x60], 1
lea eax, [edi + 0x64]
call fcn.00405578
mov byte [edi + 0x38], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3e06
lea eax, [ebp - 8]
call fcn.00406cd8
lea eax, [ebp - 4]
call fcn.00406cd8
ret
Function at 0x4a5e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, edx
mov eax, dword [ebp + 0xc]
call fcn.00406d4c
mov eax, dword [ebp + 8]
call fcn.00406d4c
xor eax, eax
push ebp
push 0x4a605f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406de8
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebx + 0xc]
call fcn.0049f920
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406de8
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.0049f920
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406de8
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebx + 0x14]
call fcn.0049f920
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
call fcn.00406de8
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebx + 0x18]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00406cd8
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00406de8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00406de8
fild dword [ebp - 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x1c]
call fcn.0049f920
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
call fcn.00406cd8
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00406de8
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xe4]
call fcn.00406de8
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebx + 0x30]
call fcn.0049f920
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
call fcn.00406cd8
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00406de8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xd4]
call fcn.00406de8
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebx + 0x34]
call fcn.0049f920
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
call fcn.00406cd8
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00406de8
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0xdc]
call fcn.00406de8
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebx + 0x38]
call fcn.0049f920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6066
lea eax, [ebp - 0x1c]
mov edx, dword [0x430cd8]
mov ecx, 4
call fcn.00405ca0
lea eax, [ebp + 8]
call fcn.00406cd8
lea eax, [ebp + 0xc]
call fcn.00406cd8
ret
Function at 0x4a6534
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov eax, dword [ebp - 4]
call fcn.00406d4c
xor eax, eax
push ebp
push 0x4a6711
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x14]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x1c]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x88]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x20]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x24]
call fcn.0049f920
lea eax, [ebp - 0x10]
call fcn.00405578
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00406de8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x28]
call fcn.0049f9c4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x2c]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa0]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
call fcn.0049f920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xa8]
call fcn.00406de8
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x34]
call fcn.0049f920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6718
lea eax, [ebp - 0x10]
call fcn.00405578
lea eax, [ebp - 4]
call fcn.00406cd8
ret
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0xf86203e
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x23ad29e0
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219