joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
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 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
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 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
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 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x402ed0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x457008], 0x8088405
inc edx
mov dword [ebx + 0x457008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41eefc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ef02
ret
Function at 0x401000
Capabilities:
Read pipe
Terminate process
Write pipe

Disassembly:
sub esp, 0x44
mov eax, dword [0x4030fc]
xor eax, esp
mov dword [esp + 0x40], eax
push 0xffffffffffffffff
push section..data
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x401034
push str.IPC_server_not_running_n
call fcn.00401150
add esp, 4
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipeOracleProcMGR_V12.2.2.0.0_VS2015
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401078
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sub.LIBENGINE.dll_Ordinal_244
push eax
push str.Cannot_access_server_pipe:__s_n
call fcn.00401150
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x4010b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sub.LIBENGINE.dll_Ordinal_244
push eax
push str.Cannot_set_pipe_state:__s_n
call fcn.00401150
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push eax
push 0x1c
lea eax, [esp + 0x18]
push eax
push 0x1c
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x40110a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sub.LIBENGINE.dll_Ordinal_244
push eax
push str.Cannot_contact_ipc_server___s__n
call fcn.00401150
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esp + 8]
cmp eax, 0x1c
je 0x40112b
push 0x1c
push eax
push str.Invalid_reply_length_from_server___d__d__n
call fcn.00401150
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6ad8738f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x40444c95
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401beb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x403dc4
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x408018]
xor eax, esp
mov dword [esp + 0x31c], eax
push esi
push edi
mov eax, dword [0x408018]
xor eax, esp
push eax
lea eax, [esp + 0x330]
mov dword fs:[0], eax
lea eax, [esp + 0x114]
push eax
mov esi, ecx
mov edi, edx
call fcn.00402bbd
and dword [esp + 0x338], 0
push esi
lea eax, [esp + 0x118]
push eax
call fcn.00402bef
push edi
lea eax, [esp + 0x118]
push eax
call fcn.00402bef
mov ecx, dword [esp + 0x114]
call fcn.004019fd
push dword [esp + 0x114]
lea eax, [esp + 0x14]
call fcn.00402986
mov byte [esp + 0x338], 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov byte [esp + 0x338], 0
mov edi, dword [sym.imp.MSVCR80.dll_free]
lea eax, [esp + 0x14]
cmp dword [esp + 0x10], eax
je 0x401cac
push dword [esp + 0x10]
call edi
pop ecx
test esi, esi
je 0x401cf0
push dword [esp + 0x114]
lea esi, [esp + 0x14]
call fcn.004029cb
mov byte [esp + 0x338], 2
push dword [eax]
push str.Deleting__s_n
call dword [sym.imp.MSVCR80.dll_printf]
pop ecx
pop ecx
mov byte [esp + 0x338], 0
lea eax, [esp + 0x14]
cmp dword [esp + 0x10], eax
je 0x401cf0
push dword [esp + 0x10]
call edi
pop ecx
or dword [esp + 0x338], 0xffffffff
lea eax, [esp + 0x114]
push eax
call fcn.0040194d
mov ecx, dword [esp + 0x330]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.004030fc
mov esp, ebp
pop ebp
ret

Function at 0x4030fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408018]
jne 0x403106
repz ret
jmp fcn.00403579
Function at 0x10582
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x38]
xor edx, edx
call dword [sym.imp.ntoskrnl.exe_InterlockedExchange]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
cmp dword [esi + 0x40], 0
je 0x105bb
push dword [esi + 4]
call dword [sym.imp.ntoskrnl.exe_MmUnlockPages]
and dword [esi + 0x40], 0
mov eax, dword [ebp + 0x10]
and dword [esi + 0x18], 0
xor dl, dl
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop esi
leave
ret 0xc

Function at 0x107e6
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
movzx eax, byte [eax + 1]
xor edx, edx
sub eax, edx
push edi
je 0x10873
dec eax
dec eax
je 0x1080b
dec eax
je 0x10858
jmp 0x1085b
sub ecx, edx
je 0x10852
dec ecx
jne 0x1085b
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
cmp ebx, eax
jg 0x1083f
cmp eax, 1
je 0x10842
push edx
push edi
call fcn.00010776
mov eax, dword [edi + 0x5c]
test eax, eax
mov dword [edi + 0x14], ebx
je 0x10842
push eax
call dword [sym.imp.ntoskrnl.exe_IoCancelIrp]
and dword [edi + 0x5c], 0
jmp 0x10842
mov dword [edi + 0x14], ebx
push ebx
push 1
push dword [edi + 0x10]
call dword [sym.imp.ntoskrnl.exe_PoSetPowerState]
xor edx, edx
jmp 0x10858
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], ebx
mov dword [esi + 0x18], edx
push esi
call dword [sym.imp.ntoskrnl.exe_PoStartNextPowerIrp]
mov edi, dword [esi + 0x18]
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x108e0
mov edi, dword [ebp + 8]
cmp dword [edi + 0x58], edx
je 0x10887
mov eax, 0x80000011
mov dword [esi + 0x18], eax
mov ebx, eax
jmp 0x108f7
mov dword [edi + 0x58], esi
mov eax, dword [esi + 0x60]
or byte [eax + 3], 1
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax + 0x28]
lea ecx, [ebx + 0x178]
mov dword [ebp + 8], ecx
call dword [sym.imp.ntoskrnl.exe_InterlockedIncrement]
mov eax, dword [ebp + 8]
cmp dword [eax], 1
jne 0x108db
push 6
pop eax
lea ecx, [ebp + 0xc]
push ecx
push ebx
push 0x106c6
push eax
push 0
push dword [ebx + 0x2c]
call dword [sym.imp.ntoskrnl.exe_PoRequestPowerIrp]
mov ebx, eax
test ebx, ebx
jl 0x108e7
mov eax, dword [ebp + 8]
cmp dword [eax], 1
jne 0x108db
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x5c], eax
mov eax, 0x103
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
and dword [edi + 0x58], 0
call dword [sym.imp.ntoskrnl.exe_InterlockedDecrement]
mov dword [esi + 0x18], ebx
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
jmp 0x108e0
Function at 0x10a98
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
xor dl, dl
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
pop esi
ret 0xc

Function at 0x115c0
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea ecx, [ebx + 0xd8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [ebp + 0xc]
mov byte [ebx + 0x17c], al
cmp word [ecx], 0
mov byte [ebp + 0xb], 1
mov eax, ecx
je 0x115fd
inc eax
inc eax
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x115ee
cmp word [eax], dx
jne 0x115ec
sub eax, ecx
inc eax
inc eax
sar eax, 1
lea eax, [eax + eax + 4]
lea esi, [ebx + 0xcc]
mov edi, dword [esi]
mov dword [ebp - 4], eax
jmp 0x1162a
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [edi - 8]
call dword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp eax, dword [ebp - 4]
je 0x11630
mov edi, dword [edi]
cmp edi, esi
jne 0x11614
jmp 0x11634
and byte [ebp + 0xb], 0
mov dl, byte [ebx + 0x17c]
lea ecx, [ebx + 0xd8]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp + 0xb], 0
jne 0x11656
mov eax, 0xc000000d
jmp 0x116fa
lea eax, [ebp - 8]
push eax
xor esi, esi
push esi
push 0x180
push 0x12
push esi
push 0x78
push dword [ebx + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, esi
jl 0x116fa
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x28]
mov eax, dword [ebx + 0xc]
push 0x7462764e
push dword [ebp - 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 8]
push esi
mov dword [ebp + 8], edi
mov dword [edi + 0x10], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edx, eax
cmp edx, esi
mov dword [edi + 0x20], edx
jne 0x116b5
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, 0xc000009a
jmp 0x116fa
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x20]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, edx
push ebx
mov dword [eax + 0x24], ecx
call fcn.00011500
push 0
push dword [ebx + 0x2c]
call dword [sym.imp.ntoskrnl.exe_IoInvalidateDeviceRelations]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x122f1
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x28]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x60]
push 0x18
push 0x6b
push 0x121ba
mov dword [ebp + 8], eax
lea eax, [esi + 0x3c]
push edi
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireRemoveLockEx]
mov ebx, eax
xor ecx, ecx
cmp ebx, ecx
jge 0x12233
push ecx
push ebx
push edi
call fcn.00010a98
jmp 0x1230f
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 1]
cmp eax, 0x17
ja case.0x12243.10
jmp dword [eax*4 + 0x12316]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 1
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp case.0x12243.2
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], 4
jmp case.0x12243.2
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], 2
jmp case.0x12243.2
cmp dword [esi + 8], 2
jmp 0x12296
cmp dword [esi + 0x30], ecx
je case.0x12243.2
mov ebx, 0xc0000001
jmp case.0x12243.2
cmp dword [esi + 8], 8
jne case.0x12243.2
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp case.0x12243.2
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], 0x20
jmp case.0x12243.2
push edi
push esi
call fcn.0001205e
jmp 0x122ed
push edi
push esi
call fcn.0001211e
jmp 0x122ed
push edi
push esi
call fcn.00011f50
jmp 0x122ed
push edi
push esi
call fcn.00011e78
jmp 0x122ed
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
xor ebx, ebx
jmp case.0x12243.2
push edi
push esi
call fcn.00011d8c
jmp 0x122ed
push edi
push esi
call fcn.00011c98
mov ebx, eax
jmp case.0x12243.2
mov ebx, dword [edi + 0x18]
push 0x18
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoReleaseRemoveLockEx]
xor dl, dl
mov ecx, edi
mov dword [edi + 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x7e804781
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x500e5b21
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x7375733e
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x670c1a0a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x741b0f4e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x33734288
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6abe3df0
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x157d2b62
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403f60
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482f10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x49b024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
clc
jae 0x403f90
call 0x63f84b
add byte [eax], al
mov eax, 0x23
cmp eax, 0x100
jl 0x403f9e
call 0x3dcba487
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4c7e00], eax
mov edx, 0xda4c2ca8
call fcn.00403310
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
call edx
stc
jb 0x403fce
call 0xe886078c
add byte [eax], al
add byte [eax], al
mov dword [ebp - 0x18], 0
mov edx, str.DybcyAUIuse
call fcn.00406b50
push eax
call fcn.00406e20
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x403e00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
push 0
push 0
call dword [sym.imp.GDI32.dll_SetMapperFlags]
push 0
call dword [sym.imp.ADVAPI32.dll_RegDisableReflectionKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ab03
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40ab24
jl 0x40ab1b
test edi, edi
jne 0x40ab24
xor eax, eax
xor edx, edx
jmp 0x40abe5
cmp dword [ebx + 0x38], 0
je 0x40ab39
push eax
push edi
push dword [ebp + 8]
call fcn.0040abeb
jmp 0x40abe5
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40ab80
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40ab80
cmp eax, edi
jb 0x40ab5a
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0042cd60
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40ab86
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40abda
mov ecx, ebx
call fcn.0040a197
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40abc5
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00454f95
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40abda
jmp 0x40ab98
test edx, edx
je 0x40abda
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00454f95
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc