joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4441c5
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x450090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x41f45b
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [esi + 4], ecx
test ecx, ecx
je 0x41f472
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 1
mov dword [esi + 8], ecx
test ecx, ecx
je 0x41f486
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x41f49a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.00408f90
lea eax, [edi + 0x24]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x24]
call fcn.00408f90
lea eax, [edi + 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.00408f90
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x78]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
lea eax, [edi + 0x78]
push eax
mov byte [ebp - 4], 6
call fcn.0041f6e0
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0xa8]
call fcn.0041f6e0
mov eax, dword [edi + 0xd8]
mov dword [esi + 0xd8], eax
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xdc], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41f5b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44424b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x450090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.004090c0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.004090c0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.004090c0
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.004090c0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.004090c0
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004090c0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.004090c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41f780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4442e2
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x450090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi], 0x445e7c
mov dword [edi + 4], 0x445e90
mov dword [edi + 8], 0x445ea4
mov dword [edi + 0xc], 0x445eb4
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.004090c0
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.004090c0
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 4
call fcn.0040c530
lea ecx, [edi + 0x88]
call fcn.004090c0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.0041db60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44431e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x450090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [esi + 0xcc]
mov dword [ebp - 4], 2
call fcn.004366f4
push dword [esi + 0xc0]
call fcn.004366f4
push dword [esi + 0x9c]
call fcn.004366f4
push dword [esi + 0x90]
call fcn.004366f4
push dword [esi + 0x30]
call fcn.004366f4
push dword [esi + 0x24]
call fcn.004366f4
push dword [esi + 0x18]
call fcn.004366f4
mov ecx, dword [esi + 0xc]
add esp, 0x1c
test ecx, ecx
je 0x41f9d4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x41f9e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x41f9f6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x41fa09
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x422900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4446e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x450090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
call fcn.004090c0
lea esi, [edi + 0x30]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004090c0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.004090c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x422a90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4447a9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x450090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], 0
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0x446060
mov dword [ebx + 8], 0
call fcn.004090c0
lea edi, [ebx + 0x44]
mov dword [ebx + 0x30], 0
mov dword [edi], 0
lea esi, [ebx + 0x48]
push esi
call fcn.00408760
mov word [esi + 0x18], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push 0
push edi
mov byte [ebp - 4], 3
mov dword [ebx + 0x78], 0xffffffff
mov dword [ebx + 0x40], 0
call fcn.004088c0
test eax, eax
je 0x422b4e
push 0x44c44c
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.00436702
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4234e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4449e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x450090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
lea ecx, [edi + 0x74]
call fcn.00409150
push 0
push 0x61
lea ecx, [edi + 0x68]
call fcn.0040aef0
push dword [ebp + 0xc]
call fcn.00408a40
push 0xce4
lea eax, [ebp - 0x18]
push eax
call fcn.00421b30
push dword [eax]
mov dword [ebp - 4], 0
push dword [edi + 0x6c]
call fcn.0040e960
push dword [ebp - 0x18]
call fcn.004366f4
add esp, 4
push 1
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x433dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x450090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x84], 0x420041
xor edx, edx
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x433f0f
lea ebx, [ebx]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x433f0a
inc eax
cmp eax, 0x40
jb 0x433ee6
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435a0c
mov esp, ebp
pop ebp
ret 4
inc edx
cmp edx, esi
jl 0x433ee0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00435a0c
mov esp, ebp
pop ebp
ret 4
Function at 0x434300
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x450090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004360d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4343ec
push ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4343a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4343b5
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
mov dword [esi], ecx
adc eax, 0
mov dword [esi + 4], eax
push dword [esi]
mov dword [ebp - 0x218], 0
call fcn.004366f9
mov ecx, dword [ebp - 0x214]
add esp, 4
push 0
mov dword [ecx], eax
lea ecx, [ebp - 0x218]
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00435a0c
mov esp, ebp
pop ebp
ret 8
Function at 0x43e212
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x450090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00439d53
mov dword [ebp - 0x14], eax
cmp dword [0x4545e4], esi
jne 0x43e305
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43e292
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43e3e5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43e3e5
push 0x44a810
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e3e5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4545e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4545e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4545ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4545f4], eax
test eax, eax
je 0x43e302
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4545f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43e32a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e31d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43e33f
push 4
pop eax
jmp 0x43e3e7
cmp dword [ebp - 0x14], esi
je 0x43e33f
push dword [0x4545e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43e324
mov eax, dword [0x4545f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x43e39d
cmp dword [0x4545f4], edi
je 0x43e39d
push eax
call ebx
push dword [0x4545f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43e39d
test eax, eax
je 0x43e39d
call ecx
test eax, eax
je 0x43e392
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43e392
test byte [ebp - 8], 1
jne 0x43e39d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43e3cd
mov eax, dword [0x4545e8]
cmp eax, edi
je 0x43e3ca
push eax
call ebx
test eax, eax
je 0x43e3ca
call eax
mov esi, eax
test esi, esi
je 0x43e3ca
mov eax, dword [0x4545ec]
cmp eax, edi
je 0x43e3ca
push eax
call ebx
test eax, eax
je 0x43e3ca
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4545e4]
call ebx
test eax, eax
je 0x43e3e5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43e3e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435a0c
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x7ffe53d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
inc esi
dec esi
push bx
inc esp
inc esp
inc esi
dec esi
not eax
not eax
push eax
pop eax
pushf
popf
inc esi
dec esi
pushf
popf
add al, 0
push bx
inc esp
inc esp
push eax
pop eax
add al, 4
sub al, 4
add al, 0
xor eax, ecx
xor eax, ecx
push eax
pop eax
push bx
inc esp
inc esp
and al, 0xff
add al, 4
sub al, 4
push eax
pop eax
not eax
not eax
push es
pop ds
xor eax, ecx
xor eax, ecx
push es
pop ds
push bx
inc esp
inc esp
add al, 0
pushf
popf
clc
call 0x7ffe542a
pop edx
push bx
inc esp
inc esp
push eax
pop eax
xor dx, dx
cld
add al, 0
add edx, 0xd5e0
inc esi
dec esi
xor ecx, ecx
nop
mov cl, 0x1e
not eax
not eax
pushal
inc eax
popal
xor byte [ecx + edx], 0x43
loop 0x7ffe544b
pushf
popf
push dword fs:[0x24]
clc
pop dword [edx + 0xa]
cld
mov cl, 0xff
pushal
inc eax
popal
push edx
loop 0x7ffe5466
add al, 4
sub al, 4
mov dword [edx + 0x11], 0xffffacbb
nop
and al, 0xff
mov ecx, dword [eax + 0x2c]
add al, 0
pushf
popf
inc esi
dec esi
mov dword [edx + 0x1b], ecx
pushf
popf
inc esi
dec esi
push es
pop ds
mov dword [edx + 0x100], ecx
push es
pop ds
push eax
pop eax
mov dword [eax + 0x2c], esp
add al, 0
push es
pop ds
stc
push 0
add al, 4
sub al, 4
push eax
pop eax
nop
push 0
add al, 0
add al, 0
push 0
push 0
push eax
pop eax
clc
inc esi
dec esi
push 0x30
pushf
popf
inc esi
dec esi
push 0x20
not eax
not eax
nop
push 0
pushf
popf
push edx
cdq
pop edx
push 0
not eax
not eax
and al, 0xff
cld
add edx, 0xffff7f32
push es
pop ds
add al, 4
sub al, 4
inc esi
dec esi
push edx
not eax
not eax
push edx
cld
push 0
call dword [edx + 0x8211]
not eax
not eax
add esp, 0x3f8
cld
add al, 0
xor eax, eax
and al, 0xff
push bx
inc esp
inc esp
add al, 0
inc eax
inc esi
dec esi
ret 0xc
Function at 0x40589f
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405b6a
test bl, 8
mov dword [ebp - 8], eax
je 0x4058de
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x42a288], eax
jmp 0x405a5b
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4058f8
test eax, eax
je 0x405a09
test bl, 2
je 0x405a09
mov esi, 0x4256f0
push edi
push esi
call fcn.004060ae
cmp dword [ebp + 8], 0
je 0x405917
push 0x40a544
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x40591d
push edi
call fcn.00405aae
cmp word [edi], 0
jne 0x40592d
cmp word [0x4256f0], 0x5c
jne 0x405938
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4059fe
cmp word [ebp - 0x22c], 0x2e
jne 0x405982
cmp word [ebp - 0x22a], 0
je 0x4059e1
cmp word [ebp - 0x22a], 0x2e
jne 0x405982
cmp word [ebp - 0x228], 0
je 0x4059e1
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.004060ae
test byte [ebp - 0x258], 0x10
je 0x4059ad
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4059e1
push dword [ebp + 0xc]
push edi
call fcn.0040589f
jmp 0x4059e1
push dword [ebp - 4]
push edi
call fcn.00405857
test eax, eax
jne 0x4059d9
cmp dword [ebp - 4], eax
je 0x4059d1
push edi
push 0xfffffffffffffff1
call fcn.0040520d
push 0
push edi
call fcn.00405f4f
jmp 0x4059e1
inc dword [0x42a288]
jmp 0x4059e1
push edi
push 0xfffffffffffffff2
call fcn.0040520d
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40595a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405a09
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405a5b
cmp dword [ebp - 8], esi
jne 0x405a1d
inc dword [0x42a288]
jmp 0x405a5b
push edi
call fcn.004063f1
test eax, eax
je 0x405a5b
push edi
call fcn.00405a62
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405857
test eax, eax
jne 0x405a53
cmp dword [ebp - 4], esi
je 0x405a15
push edi
push 0xfffffffffffffff1
call fcn.0040520d
push esi
push edi
call fcn.00405f4f
jmp 0x405a5b
push edi
push 0xffffffffffffffe5
call fcn.0040520d
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x17f7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.017f71a8
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 0x17f707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17f706a
add dl, dl
jne 0x17f7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17f70dc
xor eax, eax
add dl, dl
jne 0x17f7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17f717d
add dl, dl
jne 0x17f70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17f70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17f70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17f70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x17f70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x17f7075
mov eax, 1
add dl, dl
jne 0x17f70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17f70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17f70e1
sub eax, ebx
mov ebx, 1
jne 0x17f7128
mov ecx, 1
add dl, dl
jne 0x17f710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x17f7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17f7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17f7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x17f713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x17f714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17f7136
cmp eax, 0x7d00
jae 0x17f716d
cmp eax, 0x500
jb 0x17f7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17f7075
cmp eax, 0x7f
ja 0x17f7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17f7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x17f719e
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 0x17f7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x698370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x69838e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x6c1074
push ecx
mov edi, eax
call fcn.006ac198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6983cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006ac02e
push esi
call fcn.006abfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret