joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405bac
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, 0x421ac0
push 0x4093e0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov ebx, 0x400
je 0x405bfa
push 1
push 0
push esi
call fcn.00405ad6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
push esi
call ebp
test eax, eax
je 0x405d19
cmp eax, ebx
jg 0x405d19
mov esi, 0x421ec0
push ebx
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x405d19
cmp eax, ebx
jg 0x405d19
push esi
push edi
push str._s_s_r_n
push 0x4216c0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x423730]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405e85
push 4
push 0xc0000000
push esi
call fcn.00405ad6
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x405d19
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405d12
push edi
push esi
push ebp
call fcn.00405b4e
test eax, eax
je 0x405d12
push str._Rename__r_n
push esi
call fcn.00405a3b
test eax, eax
jne 0x405cb0
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405ce5
add eax, 0xa
push 0x4093c8
push eax
call fcn.00405a3b
mov ebp, eax
test ebp, ebp
je 0x405ce1
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405cd2
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405ccc
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x405ce7
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4216c0
push eax
call fcn.00405a91
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405b7d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405d1e
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x405d41
push dword [esp + 8]
push dword [esp + 8]
call fcn.00405bac
pop ecx
pop ecx
inc dword [0x4237b0]
ret 8
Function at 0x405d4a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405dbb
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405daa
cmp dword [ebp + 0x14], 1
je 0x405dac
cmp dword [ebp + 0x14], 2
je 0x405dac
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x40618e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4061b2
xor eax, eax
test eax, eax
je 0x4061c4
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4061c4
xor ecx, ecx
jmp 0x4061c7
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406271
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4222c4], 0
push esi
jne 0x4062a8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406282
mov dword [ecx*4 + 0x4222c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40627d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4062d9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4222c0]
xor eax, esi
inc ecx
dec edx
jne 0x4062bb
pop edi
not eax
pop esi
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x226171ef
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x41b55559
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40b02c], 0x8088405
inc edx
mov dword [0x40b02c], edx
mul edx
mov eax, edx
ret

Function at 0x4051d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x40520d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x405216
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405220
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405241
mov al, byte [esp]
jmp 0x405243
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4066dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406761
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x406744
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00406690
mov eax, dword [ebp - 0xc]
call fcn.00403438
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40674b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4067e8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
xor eax, eax
mov dl, byte [ebx]
sub dl, 1
jb 0x406814
sub dl, 0x1f
je 0x40680c
sub dl, 2
je 0x406808
jmp 0x406810
xor al, 1
jmp 0x406810
test al, al
je 0x406814
inc ebx
jmp 0x4067f5
inc ebx
cmp byte [ebx], 0x20
je 0x406813
mov eax, esi
mov edx, ebx
call fcn.004032b8
pop esi
pop ebx
ret

Function at 0x406a00
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404da8
add esp, 0x104
pop ebx
ret
Function at 0x406b48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x406bf1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406bdb
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x406b94
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x406bdb
cmp dword [ebp - 0xc], 2
jge 0x406ba6
mov eax, dword [ebp - 4]
call fcn.00403198
mov bl, 1
jmp 0x406bdb
mov edx, dword [ebp - 0xc]
dec edx
lea eax, [ebp - 0x10]
call fcn.00403514
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00403444
push eax
push 0
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406bdb
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.004031e8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406bf8
lea eax, [ebp - 0x10]
call fcn.00403198
ret

Function at 0x407314
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b55c
mov eax, esi
mov edx, 8
test al, 1
je 0x407330
shr eax, 1
xor eax, 0xedb88320
jmp 0x407332
shr eax, 1
dec edx
jne 0x407323
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40731c
pop esi
ret

Function at 0x407348
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b558], 0
jne 0x40736b
call fcn.00407314
push 1
push 0x40b558
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x407396
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407371
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4087e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov esi, eax
cmp edi, 0x50
jle 0x408805
mov eax, esi
mov edx, 0x40a1c8
mov ecx, 0x40
call fcn.0040270c
je 0x40880a
call fcn.0040877c
mov eax, esi
add eax, 0x40
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
not edx
cmp eax, edx
jne 0x408829
cmp edi, eax
jne 0x408829
cmp dword [ebx], 0xcc
je 0x40882e
call fcn.0040877c
mov eax, ebx
add eax, 0x10
mov ebp, eax
add esi, dword [ebx + 4]
mov dword [esp], esi
mov edx, dword [esp]
sub edx, ebp
mov eax, ebp
call fcn.0040739c
cmp eax, dword [ebx + 0xc]
jne 0x408855
mov eax, dword [esp]
cmp byte [eax - 1], 0
je 0x40885a
call fcn.0040877c
mov bl, 0xcc
mov esi, 0x40b95c
cmp ebp, dword [esp]
jb 0x40886b
call fcn.0040877c
mov eax, ebp
call fcn.00404cdc
mov edi, eax
mov eax, esi
mov ecx, edi
mov edx, ebp
call fcn.00403278
inc edi
add ebp, edi
add esi, 4
dec bl
jne 0x408861
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x408a68
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
cmp dword [0x40a07c], 2
jne 0x408ad5
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x408a8d
call fcn.00408a48
jmp 0x408ae7
lea eax, [esp + 8]
push eax
push 0x408aec
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x408ad5
call fcn.00408a48
jmp 0x408ae7
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x408ae7
call fcn.00408a48
add esp, 0x14
ret

Function at 0x408b00
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x408b46
inc ebx
xor esi, esi
test esi, esi
je 0x408b1d
push 0xfa
call sub.kernel32.dll_Sleep
mov eax, edi
call fcn.00403438
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x408b46
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x408b46
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x408b46
inc esi
dec ebx
jne 0x408b0f
pop edi
pop esi
pop ebx
ret

Function at 0x408ef4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x78]
xor eax, eax
push ebp
push 0x408fe4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x408ffc
push esi
push 0x409008
push edi
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403334
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403438
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x408f78
mov al, 0x62
call fcn.00408b4c
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x408f8f
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x408f83
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x408f8f
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408feb
lea eax, [ebp - 8]
call fcn.00403198
ret
Function at 0x409094
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x409180
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00406a2c
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
mov edx, 0x409198
call fcn.00408944
push 0
mov eax, dword [ebp - 4]
call fcn.00403438
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x40914e
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x4090b4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.0040873c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c20
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00406e04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x60
call fcn.0040870c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x40459c
call fcn.00405838
call fcn.00402eb4
jmp 0x4090b4
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409187
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004031b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004031b8
ret

Function at 0x4091a8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40925c
jmp 0x409251
cmp dword [esi + 0x10], 0x1000
jne 0x40923d
test byte [esi + 0x15], 1
jne 0x40923d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4091fc
cmp eax, 2
je 0x4091fc
cmp eax, 0x10
je 0x4091fc
cmp eax, 0x20
jne 0x409211
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409211
mov bl, 1
xor ebp, ebp
jmp 0x409222
mov eax, dword [esi]
add eax, ebp
call fcn.004091a0
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jl 0x409215
test bl, bl
je 0x40923d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40925c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4091d4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x29c614d5
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
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
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x100a2a36
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x402330
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
call esi
mov edi, dword [esp + 0x18]
cmp word [edi], 0x5a4d
je 0x402352
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 0
call esi
mov ebp, dword [edi + 0x3c]
add ebp, edi
cmp dword [ebp], 0x4550
je 0x40236c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 0
call esi
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x34]
push 4
push 0x2000
push eax
push ecx
call dword [0x409464]
mov edi, eax
push 0
mov dword [esp + 0x14], edi
call esi
test edi, edi
jne 0x4023ba
push edi
call esi
mov edx, dword [ebp + 0x50]
push 4
push 0x2000
push edx
push edi
call dword [0x409464]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4023b6
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edi, dword [esp + 0x10]
push 0x14
push 0
call dword [0x409460]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
xor eax, eax
push eax
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
call esi
mov eax, dword [ebp + 0x50]
push 4
push 0x1000
push eax
push edi
call dword [0x409464]
push 0
call esi
mov ecx, dword [ebp + 0x54]
push 4
push 0x1000
push ecx
push edi
call dword [0x409464]
mov esi, dword [esp + 0x18]
mov edi, dword [ebp + 0x54]
push 0
mov ecx, dword [esi + 0x3c]
add ecx, edi
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x3c]
add eax, ecx
mov dword [ebx], eax
mov dword [eax + 0x34], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebp
push edi
call fcn.004024c0
mov ecx, dword [ebp + 0x34]
mov eax, esi
add esp, 0xc
sub eax, ecx
je 0x40245a
push eax
push ebx
call fcn.00402660
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push ebx
call fcn.004026e0
add esp, 4
test eax, eax
je 0x40249c
push 0
call edi
push ebx
call fcn.00402590
add esp, 4
push 0
call edi
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
test eax, eax
je 0x4024b4
add eax, esi
test eax, eax
je 0x40249c
push 0
push 1
push esi
call eax
test eax, eax
jne 0x4024ad
push ebx
call fcn.00402910
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret
Function at 0x4024c0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x402589
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x402533
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x402567
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [0x409464]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x402567
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [0x409464]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x4024ee
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x402590
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor ebp, ebp
mov ebx, dword [eax]
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x402657
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4025ef
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40263d
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov edx, dword [edx*4 + 0x408d84]
je 0x402606
or dh, 2
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x40261f
test al, 0x40
je 0x402616
mov ecx, dword [ebx + 0x20]
jmp 0x40261d
test al, 0x80
je 0x40263d
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x40263d
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40263d
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x4025bc
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x692afc
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5ce330a3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219