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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4aed9a
add esp, 0xfffffff0
call fcn.0040535c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004404dc
mov eax, dword [0x4df594]
mov dword [eax + 4], ebx
mov dword [eax], 0x4af1e4
mov eax, dword [0x4df5a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4af1f0
mov eax, ebx
call fcn.004af1fc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4a9b30
push eax
push 0
push 0
mov eax, dword [0x4df7e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44f5e4]
call fcn.004558b8
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44f5e4]
call fcn.004558b8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44f5e4]
call fcn.004558b8
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44f5e4]
call fcn.004558b8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44f5e4]
call fcn.004558b8
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004af754
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4af5c4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4af5c4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4af5c4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4af5c4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4af5c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4aef15
call fcn.004053b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4af364
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4af511
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4af4f2
mov dl, 1
mov eax, dword [0x42bf7c]
call fcn.00437e88
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406920
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4af4e1
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.00491a8c
test al, al
je 0x4af4d4
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4af520
lea eax, [ebp - 0x394]
call fcn.00413cf4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4af4d4
xor eax, eax
push ebp
push 0x4af4cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4af590
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4af4b6
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b20
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4af4b6
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af4d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4af3d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00437dc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af518
lea eax, [ebp - 0x3a0]
call fcn.00406910
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e5280]
cmp byte [eax + 0xad], 0
jne 0x4b00e2
cmp dword [0x4e5298], 0
jne 0x4b00a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4ddf44]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4e5298], eax
cmp dword [0x4e5294], 0
jne 0x4b00bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4e5294], eax
cmp dword [0x4e529c], 0
jne 0x4b00e2
push esp
push 0
push 0
mov eax, dword [0x4ddf40]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e529c], eax
pop edx
ret
Function at 0x4b0408
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b041f
add esp, 0xfffffff0
call fcn.0040535c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004404dc
mov eax, dword [0x4df444]
cmp byte [eax], 0
jne 0x4b044c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4df7b8]
cmp word [eax + 2], 0
jne 0x4b0466
mov eax, dword [0x4df7b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b2500
mov eax, dword [0x4df8e8]
cmp word [eax + 2], 0
jne 0x4b0480
mov eax, dword [0x4df8e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b2710
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44f5e4]
call fcn.004558b8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b2cc0
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
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 [0x453a7c]
call fcn.0045ed28
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b0660
mov eax, dword [0x4df644]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045f1bc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b2fa8
mov dl, 1
mov eax, dword [0x4299b4]
call fcn.00404df8
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4df644]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00413b00
test eax, eax
je 0x4b0591
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004138e4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413ae4
test eax, eax
je 0x4b05a9
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406b20
push ebx
push 0x4b1ed0
call fcn.004a6118
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4df444]
cmp byte [eax], 0
jne 0x4b05fa
mov eax, ebx
call fcn.004b07d4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b31d4
mov eax, ebx
call fcn.004b3e08
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b0657
call fcn.004053b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b0aa8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b0b4a
cmp dword [ebx + 0x94], 0
jne 0x4b0b44
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b09f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b0b44
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_GetWindowLongW
test al, 8
je 0x4b0b0a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b0b44
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.00434788
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b0b19
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b0d68
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e5280]
cmp dword [eax + 0x170], 0
je 0x4b0ecd
test bl, bl
jne 0x4b0e1b
cmp dword [esi + 0x9c], 0
jne 0x4b0e10
mov eax, esi
call fcn.004b3c58
push eax
push 0x4b0c74
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b0de1
mov eax, dword [0x4e5280]
cmp byte [eax + 0xd3], 0
je 0x4b0de1
mov eax, dword [esi + 0xd8]
call fcn.00407f44
mov edi, eax
cmp edi, 0
jl 0x4b0de1
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b0dca
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b0e10
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434788
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b0df0
inc dword [esi + 0x9c]
jmp 0x4b0ecd
cmp dword [esi + 0x9c], 0
jle 0x4b0ecd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b0ecd
cmp dword [esi + 0x44], 0
je 0x4b0e78
mov eax, dword [0x4e5280]
cmp byte [eax + 0xd3], 0
je 0x4b0e78
mov eax, dword [esi + 0xd8]
call fcn.00407f44
mov edi, eax
cmp edi, 0
jl 0x4b0e78
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b0e61
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b0ea7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434788
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b0e87
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a3ff0]
call fcn.00408104
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b1b1c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b1b87
cmp byte [ebx + 0xd3], 0
jne 0x4b1b87
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406a5c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b1b74
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b1b94
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406920
jmp 0x4b1b94
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406920
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b33bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b342a
mov eax, esi
call fcn.0048ba44
test al, al
je 0x4b342a
mov eax, dword [ebx + 0x84]
call fcn.0048b698
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b342a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b341e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048b698
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004826d8
jmp 0x4b342a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b31f4
pop esi
pop ebx
ret

Function at 0x4d0dd4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406908
xor eax, eax
push ebp
push 0x4d0ea7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004047ec
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
test bl, bl
je 0x4d0e1f
mov word [ebp - 0x18], 5
jmp 0x4d0e25
mov word [ebp - 0x18], 0
mov dword [ebp - 0x54], 0xc
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x60], 0xc
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xffffffff
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x4000010
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
call fcn.004069ac
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4d0e91
cmp byte [ebp + 8], 0
je 0x4d0e91
push 0xffffffffffffffff
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0eae
lea eax, [ebp - 4]
call fcn.00406910
ret
Function at 0x4d105c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4d1129
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
call sub.kernel32.dll_GetTempPathW
mov ebx, eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040686c
mov eax, dword [ebp - 8]
call fcn.00406784
push eax
push ebx
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 4]
call fcn.00409570
push eax
call sub.shell32.dll_SHGetDesktopFolder
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00406784
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x222]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x222]
mov ecx, 0x105
call fcn.00406b20
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00406920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1130
lea eax, [ebp - 0xc]
call fcn.00406910
lea eax, [ebp - 8]
call fcn.004065b8
lea eax, [ebp - 4]
call fcn.00409570
ret
Function at 0x4d2b10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406908
xor eax, eax
push ebp
push 0x4d2ba2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x2000000
push 2
push 0
push 3
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.004069ac
mov ebx, eax
push ebx
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4d2b85
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xa
call sub.kernel32.dll_Sleep_1
mov edx, ebx
lea eax, [ebp - 8]
call fcn.00406acc
mov eax, dword [ebp - 8]
call fcn.004069ac
push eax
call sub.kernel32.dll_DeleteFileW
mov bl, 1
jmp 0x4d2b87
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2ba9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406918
ret
Function at 0x4d3e04
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4d3e0c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d3fad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3cc], 0
jne 0x4d3e3e
mov ebx, 1
jmp 0x4d3f85
call fcn.0041dec4
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3cc]
mov dl, 1
mov eax, dword [0x448fb4]
call fcn.0044ac20
mov esi, eax
push 0
mov ecx, 0x4d3fcc
mov edx, 0x4d3fec
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x4d3e85
mov eax, esi
call fcn.00404e28
mov ebx, 2
jmp 0x4d3f85
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4d4010
mov edx, 0x4d3fec
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00412490
cmp dword [ebp - 0x1c], 0
jne 0x4d3ebe
mov eax, esi
call fcn.00404e28
mov ebx, 3
jmp 0x4d3f85
lea edx, [ebp - 8]
mov eax, dword [0x4df8b4]
mov eax, dword [eax]
call fcn.004b2c38
push 0
mov eax, dword [ebp - 0xc]
call fcn.004069ac
push eax
mov eax, dword [ebp - 8]
call fcn.004069ac
push eax
call sub.kernel32.dll_CopyFileW
test ebx, ebx
jle 0x4d3f7c
mov dword [ebp - 0x18], ebx
mov ebx, 1
push 0
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00412a84
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x4d4038
call fcn.00406df4
mov ecx, dword [ebp - 0x20]
mov edx, 0x4d4058
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00412a84
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x4d4078
call fcn.00406df4
mov ecx, dword [ebp - 0x28]
mov edx, 0x4d4058
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov byte [ebp - 0x11], al
push ebx
movzx eax, byte [ebp - 0x11]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004d39a0
test eax, eax
jle 0x4d3f72
mov ebx, 4
jmp 0x4d3f85
inc ebx
dec dword [ebp - 0x18]
jne 0x4d3ef6
mov eax, esi
call fcn.00404e28
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3fb4
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00406918
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406918
ret
Function at 0x1097058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10971a8
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 0x109707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x109706a
add dl, dl
jne 0x1097089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10970dc
xor eax, eax
add dl, dl
jne 0x1097096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x109717d
add dl, dl
jne 0x10970a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10970d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1097075
mov eax, 1
add dl, dl
jne 0x10970ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10970f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10970e1
sub eax, ebx
mov ebx, 1
jne 0x1097128
mov ecx, 1
add dl, dl
jne 0x109710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1097119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1097105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x109713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x109714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1097136
cmp eax, 0x7d00
jae 0x109716d
cmp eax, 0x500
jb 0x1097168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
cmp eax, 0x7f
ja 0x1097170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1097075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x109719e
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 0x1097075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x623642b8
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7b3e00a9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402605
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4061b0
cmp edx, dword [eax]
je 0x402627
add eax, 8
inc ecx
cmp eax, 0x406240
jl 0x402618
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4061b0]
jne 0x402755
mov eax, dword [0x40656c]
cmp eax, 1
je 0x40272f
test eax, eax
jne 0x402658
cmp dword [0x406104], 1
je 0x40272f
cmp edx, 0xfc
je 0x402755
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40268f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402bb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402d20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4026d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402d20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053e8
push edi
call fcn.004039b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402bb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402bc0
lea eax, [ebp - 0xa0]
push 0x4053c8
push eax
call fcn.00402bc0
push dword [esi + 0x4061b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402bc0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040391e
add esp, 0x2c
pop edi
jmp 0x402755
lea eax, [ebp + 8]
lea esi, [esi + 0x4061b4]
push 0
push eax
push dword [esi]
call fcn.00402d20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402a49
Capabilities:
Parse pe header

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