joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433428
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x433444
cmp dword [esi + 4], 0
je 0x433471
test byte [ebx + 0x55], 1
jne 0x433463
mov eax, ebx
call fcn.00432034
test eax, eax
jne 0x433463
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x433581
mov edx, esi
mov eax, ebx
call fcn.00432f4c
jmp 0x433581
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43357a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435298
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042fd50
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433428
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435298
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433581
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439990
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x465a5c]
cmp byte [eax + 0xc], 0
je 0x439afd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x439af6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466b68], 0
jne 0x4399e4
push 0x439b04
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x439b0c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b68], eax
cmp dword [0x464b08], 0
jne 0x439adf
push 0x439b1c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x464b08], eax
cmp dword [0x464b08], 0
je 0x439adf
push 0x439b28
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b6c], eax
push 0x439b38
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b70], eax
push 0x439b4c
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b74], eax
push 0x439b64
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b78], eax
push 0x439b7c
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b7c], eax
push 0x439b90
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b80], eax
push 0x439ba8
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b84], eax
push 0x439bc0
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b88], eax
push 0x439bdc
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b8c], eax
push 0x439be8
mov eax, dword [0x464b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439afd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x445180
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4451d0]
test si, 4
je 0x445194
or bl, 1
test si, 8
je 0x44519e
or bl, 4
test si, 1
je 0x4451a8
or bl, 8
test si, 2
je 0x4451b2
or bl, 0x10
test si, 0x10
je 0x4451bc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4451cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4451d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44520c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4451ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4451fc
or bl, 4
test esi, 0x20000000
je 0x445207
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44b8d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44b8e2
add esp, 0xfffffff0
call fcn.00403860
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a0a8
mov eax, dword [0x465718]
mov dword [eax + 4], ebx
mov dword [eax], 0x44bc74
mov eax, dword [0x465724]
mov dword [eax + 4], ebx
mov dword [eax], 0x44bc80
mov eax, ebx
call fcn.0044bc8c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e3c]
call fcn.004034f8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e3c]
call fcn.004034f8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e3c]
call fcn.004034f8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e3c]
call fcn.004034f8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e3c]
call fcn.004034f8
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, 0x4480a4
push eax
push 0
push 0
mov eax, dword [0x46586c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bb04]
call fcn.0041d1c4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bb04]
call fcn.0041d1c4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bb04]
call fcn.0041d1c4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044c0dc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bfa4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bfa4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44bfa4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ba1f
call fcn.004038b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44bd88
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 0x44bf33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44bf14
mov dl, 1
mov eax, dword [0x412258]
call fcn.004034f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404338
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44bf03
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.00439cf0
test al, al
je 0x44bef6
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, 0x44bf44
lea eax, [ebp - 0x254]
call fcn.0040919c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44bef6
xor eax, eax
push ebp
push 0x44beef
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 0x44bf7c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44bed8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045a8
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 0x44bed8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bef6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44bdf9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415d90
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 0x44bf3a
lea eax, [ebp - 0x260]
call fcn.00404338
ret

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

Disassembly:
push ecx
mov eax, dword [0x466bb4]
cmp byte [eax + 0xa5], 0
jne 0x44c8ed
cmp dword [0x466bcc], 0
jne 0x44c8ae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44c838
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x466bcc], eax
cmp dword [0x466bc8], 0
jne 0x44c8c9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x466bc8], eax
cmp dword [0x466bd0], 0
jne 0x44c8ed
push esp
push 0
push 0
push 0x44c7dc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x466bd0], eax
pop edx
ret
Function at 0x44cf80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466bb4]
cmp dword [eax + 0x30], 0
je 0x44d02a
cmp dword [ebx + 0x94], 0
jne 0x44d024
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44cf10
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d024
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 0x44cfea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d024
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.00414200
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44cff9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44db88
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 0x44dbbd
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.00404428
jmp 0x44dbca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040438c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44ecdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44ed1d
mov eax, esi
call fcn.004354f8
test al, al
je 0x44ed1d
mov eax, dword [ebx + 0x84]
call fcn.00435298
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ed1d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435298
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4529f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x452a1e
mov eax, ebx
call fcn.004534a4
cmp dword [ebx + 0x40], 0
je 0x452a17
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x452a8f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x452a81
cmp dword [ebx + 8], 0
je 0x452a40
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 0x452a52
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x452a81
cmp dword [ebx + 8], 0
je 0x452a33
cmp eax, 3
je 0x452a65
dec eax
jne 0x452a33
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 0x452a33
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x452a33
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x452aad
cmp dword [ebx + 0x14], 0xcc
je 0x452aad
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.00452ab8
pop ebx
ret
Function at 0x55e740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x101000]
push edi
jmp 0x55e75a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55e761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e750
mov eax, 1
add ebx, ebx
jne 0x55e773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55e784
jne 0x55e7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e7a3
dec eax
add ebx, ebx
jne 0x55e790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55e768
add ebx, ebx
jne 0x55e79f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55e7f5
xor ecx, ecx
sub eax, 3
jb 0x55e7bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55e82a
sar eax, 1
mov ebp, eax
jmp 0x55e7c6
add ebx, ebx
jne 0x55e7c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e794
inc ecx
add ebx, ebx
jne 0x55e7d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e794
add ebx, ebx
jne 0x55e7e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55e7d6
jne 0x55e7f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55e7d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55e814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55e806
jmp 0x55e756
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55e814
add edi, ecx
jmp 0x55e756
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55e832
cmp byte [edi], 0x11
jne 0x55e832
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 0x55e837
lea edi, [esi + 0x157000]
mov eax, dword [edi]
or eax, eax
je 0x55e8af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d7844]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d79c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55e864
mov ecx, edi
jns 0x55e893
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 + 0x1d79c4]
or eax, eax
je 0x55e8a9
mov dword [ebx], eax
add ebx, 4
jmp 0x55e881
call dword [esi + 0x1d79d4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x55e8e0
cmp al, 0xef
ja 0x55e8d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x55e8b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x55e8c2
mov ebp, dword [esi + 0x1d79c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x55e914
sub esp, 0xffffff80
jmp 0x420577
Function at 0x10814058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.108141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1081407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1081406a
add dl, dl
jne 0x10814089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108140dc
xor eax, eax
add dl, dl
jne 0x10814096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1081417d
add dl, dl
jne 0x108140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10814075
mov eax, 1
add dl, dl
jne 0x108140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108140e1
sub eax, ebx
mov ebx, 1
jne 0x10814128
mov ecx, 1
add dl, dl
jne 0x1081410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10814119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10814105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10814075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1081413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1081414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10814136
cmp eax, 0x7d00
jae 0x1081416d
cmp eax, 0x500
jb 0x10814168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10814075
cmp eax, 0x7f
ja 0x10814170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10814075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1081419e
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 0x10814075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
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 0x43b65a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
sub ebx, ecx
call fcn.0043b685
dec ecx
and ecx, ecx
and ecx, ecx
xor dword [eax], edx
add ecx, ebx
add ebx, ecx
inc eax
sub ecx, ecx
or ecx, ecx
cmp eax, esi
jne fcn.0043b65a
and ecx, ebx
and ecx, ebx
ret
Function at 0x8f4e10
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.008f4e8f
jae 0x8f4e1c
xor ecx, ecx
call fcn.008f4e8f
jae 0x8f4e46
xor eax, eax
call fcn.008f4e8f
jae 0x8f4e57
mov al, 0x10
call fcn.008f4e8f
adc al, al
jae 0x8f4e38
jne 0x8f4e84
stosb byte es:[edi], al
jmp 0x8f4e1d
call fcn.008f4e9b
dec ecx
loop 0x8f4e63
mov eax, ebp
call fcn.008f4e99
jmp 0x8f4e85
lodsb al, byte [esi]
shr eax, 1
je 0x8f4eab
adc ecx, 2
mov ebp, eax
jmp 0x8f4e85
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.008f4e99
cmp eax, 0x7d00
jae 0x8f4e83
cmp eax, 0x500
jae 0x8f4e84
cmp eax, 0x7f
ja 0x8f4e85
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f4e1d
pop ebp
ret 8

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

Disassembly:
pushal
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x2647a12
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
lea esp, [esp + 0x28]
ja 0x2646445
movzx edx, cl
shr dl, cl
mov edx, esp
neg al
lea ecx, [edi + 0x40]
bt sp, 0xd
sub ecx, edx
das
lea eax, [ebp - 0x80]
shld di, di, cl
btc di, 1
and al, 0xfc
add edi, esi
sub eax, ecx
pushfd
mov esp, eax
lea edi, [0x36a1cd6f]
mov di, dx
pushfd
movzx di, cl
movsx edi, al
push esi
not si
cld
call fcn.026459ce
push esp
cmp ebp, eax
jmp 0x2645ead
jmp 0x26463c6