joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f9d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f9e6
add esp, 0xfffffff0
call fcn.0040427c
mov byte [ebp - 1], dl
push eax
pop ebx
sub edx, edx
push ebx
pop eax
call fcn.0041b50c
mov eax, dword [0x492954]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fd78
mov eax, dword [0x492960]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fd84
mov eax, ebx
call fcn.0045fd90
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
push eax
pop esi
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, 0x45b828
push eax
push 0
push 0
mov eax, dword [0x492ad0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f1f0]
call fcn.00420a44
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f1f0]
call fcn.00420a44
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f1f0]
call fcn.00420a44
mov dword [ebx + 0x80], eax
push ebx
pop eax
call fcn.00460208
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4600d8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4600d8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4600d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fb23
call fcn.004042d4
pop dword fs:[0]
add esp, 0xc
push ebx
pop eax
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45febc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
sub edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460067
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460048
mov dl, 1
mov eax, dword [0x412f64]
call fcn.00403f28
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404da0
lea eax, [ebp - 0x114]
push eax
push pe_nt_image_headers32
call sub.user32.dll_GetKeyboardLayoutList
dec eax
or eax, eax
jl 0x460037
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.00452914
test al, al
je 0x46002a
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, 0x460078
lea eax, [ebp - 0x254]
call fcn.00409c00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
or eax, eax
jne 0x46002a
sub eax, eax
push ebp
push 0x460023
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4600b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46000c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00405010
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 0x46000c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00405010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46002a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ff2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041740c
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 0x46006e
lea eax, [ebp - 0x260]
call fcn.00404da0
ret

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

Disassembly:
push ecx
mov eax, dword [0x496584]
cmp byte [eax + 0xad], 0
jne 0x460a51
cmp dword [0x49659c], 0
jne 0x460a12
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46099c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49659c], eax
cmp dword [0x496598], 0
jne 0x460a2d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x496598], eax
cmp dword [0x4965a0], 0
jne 0x460a51
push esp
push 0
push 0
push 0x460940
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4965a0], eax
pop edx
ret
Function at 0x460c54
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460c6b
add esp, 0xfffffff0
call fcn.0040427c
mov byte [ebp - 1], dl
push eax
pop ebx
sub edx, edx
push ebx
pop eax
call fcn.0041b50c
mov eax, dword [0x492ab0]
cmp word [eax + 2], 0
jne 0x460c93
mov eax, dword [0x492ab0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462704
mov eax, dword [0x492b80]
cmp word [eax + 2], 0
jne 0x460cad
mov eax, dword [0x492b80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462910
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4129b4]
call fcn.00403f28
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41fd00]
call fcn.00427be0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x460e64
mov eax, dword [0x4929c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
push esi
pop eax
call fcn.00427fb4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462fe0
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4929c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d448
test eax, eax
je 0x460db4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004095a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d47c
or eax, eax
je 0x460dc8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00405010
mov byte [ebx + 0xd4], 0
push ebx
push 0x462264
call fcn.0041c69c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x492880]
cmp byte [eax], 0
jne 0x460e19
mov eax, ebx
call fcn.00460fa8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
sub eax, eax
mov dword [ebx + 0xa8], eax
push ebx
pop eax
call fcn.004631bc
mov eax, ebx
call fcn.00463d1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460e59
call fcn.004042d4
pop dword fs:[0]
add esp, 0xc
push ebx
pop eax
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
Function at 0x461228
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
push eax
pop ebx
mov eax, dword [0x496584]
cmp dword [eax + 0x30], 0
je 0x4612d2
cmp dword [ebx + 0x94], 0
jne 0x4612cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
push esp
pop eax
push eax
push 0x4611b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4612cc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
push eax
pop esi
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x461292
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4612cc
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.00414eec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4612a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4633a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
or esi, esi
je 0x46340e
mov eax, esi
call fcn.0044d568
test al, al
je 0x46340e
mov eax, dword [ebx + 0x84]
call fcn.0044d1c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46340e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x463402
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d1c8
push eax
call sub.user32.dll_ShowWindow
sub edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004454cc
jmp 0x46340e
mov cl, 1
mov edx, dword [ebx + 0x74]
push ebx
pop eax
call fcn.004631dc
pop esi
pop ebx
ret
Function at 0x467bd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push eax
pop ebx
push ebx
pop eax
call fcn.00405264
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x479858
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push eax
pop ebx
cmp dword [ebx + 0x14], 0xca
jne 0x479886
mov eax, ebx
call fcn.0047a30c
cmp dword [ebx + 0x40], 0
je 0x47987f
mov dword [ebx + 0x14], 0xcf
push 1
pop eax
push eax
pop eax
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4798f7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4798e9
cmp dword [ebx + 8], 0
je 0x4798a8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
push ebx
pop eax
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4798ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4798e9
cmp dword [ebx + 8], 0
je 0x47989b
cmp eax, 3
je 0x4798cd
dec eax
jne 0x47989b
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 0x47989b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47989b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x479915
cmp dword [ebx + 0x14], 0xcc
je 0x479915
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
push ebx
pop eax
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00479920
pop ebx
ret

Function at 0x479920
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
cmp dword [ebx + 0x14], 0xcc
je 0x4799b5
mov eax, ebx
mov edx, dword [eax + 0x1a4]
call dword [edx]
xor ecx, ecx
mov dword [ebx + 0x8c], ecx
mov dword [ebx + 0x14], 0xcc
jmp 0x4799b5
mov eax, dword [ebx + 8]
or eax, eax
je 0x479966
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x74]
mov dword [eax + 8], edx
push ebx
pop eax
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov esi, dword [ebx + 0x8c]
push 0
lea ecx, [ebx + 0x8c]
mov edi, dword [eax + 0x1a8]
sub edx, edx
call dword [edi + 4]
cmp esi, dword [ebx + 0x8c]
jne 0x47998d
sub eax, eax
jmp 0x4799db
mov edx, dword [ebx + 0x8c]
cmp edx, dword [ebx + 0x74]
jb 0x47994f
mov eax, ebx
mov edx, dword [eax + 0x1a4]
call dword [edx + 4]
mov eax, ebx
mov edx, dword [eax + 0x1a4]
call dword [edx]
sub ecx, ecx
mov dword [ebx + 0x8c], ecx
mov eax, dword [ebx + 0x1a4]
cmp dword [eax + 8], 0
jne 0x47998d
cmp dword [ebx + 0x44], 0
je 0x4799ce
mov edx, 0xce
jmp 0x4799d3
mov edx, 0xcd
mov dword [ebx + 0x14], edx
push 1
pop eax
push esi
pop esi
pop edi
pop esi
pop ebx
ret
Function at 0x48be70
Capabilities:
Set registry value

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
push eax
pop ebx
mov eax, dword [ebp - 4]
call fcn.00405254
mov eax, dword [ebp - 8]
call fcn.00405254
mov eax, dword [ebp + 8]
call fcn.00405254
sub eax, eax
push ebp
push 0x48bf12
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405264
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [ebp + 8]
test eax, eax
je 0x48bec4
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
push ebx
lea eax, [ebp + 8]
call fcn.004052bc
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00405264
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bf19
lea eax, [ebp - 8]
nop
push 2
nop
pop edx
call fcn.00404dc4
lea eax, [ebp + 8]
call fcn.00404da0
ret

Function at 0x48c034
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x48c0cd
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
push 0x17
pop esi
nop
nop
mov ebx, 0x4927fc
nop
nop
push 0xffffffffffffffff
push dword [ebx]
push 0x48c0e4
lea edx, [ebp - 0xc]
sub eax, eax
call fcn.004030dc
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040941c
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405124
mov eax, dword [ebp - 4]
call fcn.00405264
push eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004030dc
mov eax, dword [ebp - 0x10]
call fcn.00405264
push eax
call sub.kernel32.dll_CopyFileA
add ebx, 4
dec esi
jne 0x48c05b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c0d4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404dc4
ret
Function at 0x48c2f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405254
mov eax, dword [ebp - 8]
call fcn.00405254
sub eax, eax
push ebp
push 0x48c41a
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x48c32e
jmp 0x48c331
mov eax, dword [ebp - 4]
test eax, eax
je 0x48c33d
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
or eax, eax
je 0x48c34c
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jle 0x48c35d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push edi
pop eax
mov edx, dword [ebp - 0x10]
call fcn.004054ec
mov esi, dword [ebp - 0x14]
test esi, esi
jle 0x48c394
pushfd
xor ebx, ebx
inc ebx
popfd
mov eax, edi
call fcn.004052bc
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x48c373
cmp byte [ebp - 9], 0
je 0x48c3ce
mov ebx, dword [ebp - 0x14]
inc ebx
mov esi, dword [ebp - 0x10]
sub esi, ebx
jl 0x48c3ff
inc esi
mov eax, edi
call fcn.004052bc
mov edx, ebx
sub edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx - 1]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x48c3a6
jmp 0x48c3ff
mov ebx, dword [ebp - 0x14]
inc ebx
mov esi, dword [ebp - 0x10]
sub esi, ebx
jl 0x48c3ff
inc esi
push edi
pop eax
call fcn.004052bc
mov edx, ebx
sub edx, dword [ebp - 0x14]
mov ecx, dword [edi]
movzx edx, byte [ecx + edx - 1]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x48c3da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c421
lea eax, [ebp - 8]
pushal
popal
push 2
pop edx
call fcn.00404dc4
ret

Function at 0x48c8c4
Capabilities:
Get common file path

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffef8
push ebx
push edx
pop ebx
jmp 0x48c8d3
jmp 0x48c8d6
nop
push esi
pop esi
jmp 0x48c8dc
nop
nop
lea edx, [ebp - 0x105]
push edx
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, 0x80000000
sete al
neg al
sbb eax, eax
or eax, eax
je 0x48c915
push ebx
pop eax
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00405010
jmp 0x48c91c
mov eax, ebx
call fcn.00404da0
pop ebx
mov esp, ebp
pop ebp
ret
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 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3bc424cb
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x19ae7511
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10d2b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10d2b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10d2b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10d2b06a
add dl, dl
jne 0x10d2b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10d2b0dc
xor eax, eax
add dl, dl
jne 0x10d2b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10d2b17d
add dl, dl
jne 0x10d2b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d2b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d2b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d2b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10d2b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10d2b075
mov eax, 1
add dl, dl
jne 0x10d2b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10d2b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10d2b0e1
sub eax, ebx
mov ebx, 1
jne 0x10d2b128
mov ecx, 1
add dl, dl
jne 0x10d2b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10d2b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10d2b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10d2b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10d2b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10d2b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10d2b136
cmp eax, 0x7d00
jae 0x10d2b16d
cmp eax, 0x500
jb 0x10d2b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10d2b075
cmp eax, 0x7f
ja 0x10d2b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10d2b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10d2b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10d2b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
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
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5c562cdd
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x25f46472
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401fee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x428040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [0x48a6c8]
xor ecx, ecx
push edi
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402063
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.004029b8
lea ecx, [esp + 0x14]
call fcn.00401e1e
cmp eax, 0x8aafdc01
je 0x40207a
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402a45
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x10]
jb 0x40202a
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406c93
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00402d84
push eax
call fcn.00402ffd
mov eax, dword [ebx + 0x24]
pop ecx
mov ecx, dword [esp + 0xc]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402a45
jmp 0x402065