joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411822
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b35f
and dword [ebp - 0x14], 0
cmp dword [0x821c04], 0
mov dword [ebp - 0x18], eax
jne 0x4118d5
push 0x403e48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41197d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e3c
push ebx
call edi
test eax, eax
je 0x41197d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e2c
push ebx
mov dword [0x821c04], eax
call edi
push eax
call esi
push 0x403e18
push ebx
mov dword [0x821c08], eax
call edi
push eax
call esi
push 0x403dfc
push ebx
mov dword [0x821c0c], eax
call edi
push eax
call esi
mov dword [0x821c14], eax
test eax, eax
je 0x4118d5
push 0x403de4
push ebx
call edi
push eax
call esi
mov dword [0x821c10], eax
mov eax, dword [0x821c10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41192e
cmp dword [0x821c14], ecx
je 0x41192e
push eax
call esi
push dword [0x821c14]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41192e
test ebx, ebx
je 0x41192e
call edi
test eax, eax
je 0x411925
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411925
test byte [ebp - 8], 1
jne 0x41192e
or dword [ebp + 0x10], 0x200000
jmp 0x411961
mov eax, dword [0x821c08]
cmp eax, dword [ebp - 0x18]
je 0x411961
push eax
call esi
test eax, eax
je 0x411961
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411961
mov eax, dword [0x821c0c]
cmp eax, dword [ebp - 0x18]
je 0x411961
push eax
call esi
test eax, eax
je 0x411961
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x821c04]
call esi
test eax, eax
je 0x41197d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41197f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004092bb
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430391
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d0b8]
jne 0x43039b
repz ret
jmp fcn.00433a5f

Function at 0x4391bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48d0b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00433107
and dword [ebp - 0x14], 0
cmp dword [0x48ee0c], 0
mov dword [ebp - 0x18], eax
jne 0x43926e
push 0x402b78
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x439316
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402b6c
push ebx
call edi
test eax, eax
je 0x439316
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402b5c
push ebx
mov dword [0x48ee0c], eax
call edi
push eax
call esi
push 0x402b48
push ebx
mov dword [0x48ee10], eax
call edi
push eax
call esi
push 0x402b2c
push ebx
mov dword [0x48ee14], eax
call edi
push eax
call esi
mov dword [0x48ee1c], eax
test eax, eax
je 0x43926e
push 0x402b14
push ebx
call edi
push eax
call esi
mov dword [0x48ee18], eax
mov eax, dword [0x48ee18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4392c7
cmp dword [0x48ee1c], ecx
je 0x4392c7
push eax
call esi
push dword [0x48ee1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4392c7
test ebx, ebx
je 0x4392c7
call edi
test eax, eax
je 0x4392be
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4392be
test byte [ebp - 8], 1
jne 0x4392c7
or dword [ebp + 0x10], 0x200000
jmp 0x4392fa
mov eax, dword [0x48ee10]
cmp eax, dword [ebp - 0x18]
je 0x4392fa
push eax
call esi
test eax, eax
je 0x4392fa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4392fa
mov eax, dword [0x48ee14]
cmp eax, dword [ebp - 0x18]
je 0x4392fa
push eax
call esi
test eax, eax
je 0x4392fa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48ee0c]
call esi
test eax, eax
je 0x439316
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x439318
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430391
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
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
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xd2431a8
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section._RDATA
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x35922579
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x687c4628
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5e76259
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x406060
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42d77b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404174
call fcn.00406d7c
push 4
mov dword [esp + 0x18], 0
call fcn.00407f33
mov edi, eax
add esp, 4
test edi, edi
je 0x4060d4
push ebx
call fcn.00406b77
mov dword [edi], eax
call fcn.00406936
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406d3d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4060c8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406d65
pop ebx
jmp 0x4060d6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4085ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430510]
jne 0x4085b7
repz ret
jmp fcn.0040c7dc
Function at 0x410a97
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040aa73
and dword [ebp - 0x14], 0
cmp dword [0x4359ac], 0
mov dword [ebp - 0x18], eax
jne 0x410b4a
push 0x403e78
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410bf2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e6c
push ebx
call edi
test eax, eax
je 0x410bf2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e5c
push ebx
mov dword [0x4359ac], eax
call edi
push eax
call esi
push 0x403e48
push ebx
mov dword [0x4359b0], eax
call edi
push eax
call esi
push 0x403e2c
push ebx
mov dword [0x4359b4], eax
call edi
push eax
call esi
mov dword [0x4359bc], eax
test eax, eax
je 0x410b4a
push 0x403e14
push ebx
call edi
push eax
call esi
mov dword [0x4359b8], eax
mov eax, dword [0x4359b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410ba3
cmp dword [0x4359bc], ecx
je 0x410ba3
push eax
call esi
push dword [0x4359bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410ba3
test ebx, ebx
je 0x410ba3
call edi
test eax, eax
je 0x410b9a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410b9a
test byte [ebp - 8], 1
jne 0x410ba3
or dword [ebp + 0x10], 0x200000
jmp 0x410bd6
mov eax, dword [0x4359b0]
cmp eax, dword [ebp - 0x18]
je 0x410bd6
push eax
call esi
test eax, eax
je 0x410bd6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410bd6
mov eax, dword [0x4359b4]
cmp eax, dword [ebp - 0x18]
je 0x410bd6
push eax
call esi
test eax, eax
je 0x410bd6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4359ac]
call esi
test eax, eax
je 0x410bf2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410bf4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085ad
leave
ret
Function at 0x427ab0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xe44
cmp dword [0x7b9714], 0x37
jne 0x427b46
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push 0
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea edx, [esp + 8]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [esp + 0x644]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x7ba708]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + esi]
mov edx, dword [0x7b967c]
mov byte [edx + esi], cl
add esp, 0xe44
ret
Function at 0x427d90
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b9714]
sub esp, 0x28c
push ebx
push ebp
push esi
mov esi, dword [0x7b967c]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x427f87
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x427dc6
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0x7b9714], 0x1c
jne 0x427ddd
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov ecx, dword [esi + 4]
mov edx, dword [0x4312c4]
mov eax, dword [esi]
mov ebp, dword [0x4312c0]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4312c8]
mov dword [esp + 0x30], edx
mov edx, dword [0x4312cc]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edx
mov ebx, 0x20
jmp 0x427e26
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
mov ecx, eax
shl edx, 4
add edx, dword [esp + 0x34]
shr ecx, 5
add ecx, dword [esp + 0x28]
add eax, esi
xor edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [0x7b9680], edi
mov eax, dword [esp + 0x1c]
add dword [0x7b9680], eax
mov ecx, dword [0x7b9680]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x2c]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl ecx, 4
add ecx, ebp
cmp dword [0x7b9714], 0x1be
mov dword [esp + 0x10], ecx
lea edi, [esi + eax]
jne 0x427ee8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
xor eax, eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr eax, 5
add eax, dword [esp + 0x30]
xor ecx, edi
mov dword [0x7b9688], 0xff6b3619
mov dword [0x7b968c], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
add esi, 0x61c88647
dec ebx
jne 0x427e20
cmp dword [0x7b9714], 0x8d4
jne 0x427f3c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x7b9714], 0x17
jne 0x427f76
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x48]
push ecx
push 0x403ef8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x427dc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28c
ret
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 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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219

Function at 0x54846e
Capabilities:
Encode data using xor

Disassembly:
call fcn.00549414
call fcn.00542c4a
stosd dword es:[edi], eax
xor al, byte [ecx + 0x37]
daa
ror byte [edx + edi*2], 1
cmp al, 0xd5
invalid
Function at 0x4098c4
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 0x409997
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4099b0
push ebx
push 0x4099bc
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 0x409944
mov al, 0x62
call fcn.0040949c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409898
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40994d
call fcn.00409898
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 0x40999e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a50
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 0x409b04
jmp 0x409af9
cmp dword [esi + 0x10], 0x1000
jne 0x409ae5
test byte [esi + 0x15], 1
jne 0x409ae5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409aa4
cmp eax, 2
je 0x409aa4
cmp eax, 0x10
je 0x409aa4
cmp eax, 0x20
jne 0x409ab9
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 0x409ab9
mov bl, 1
xor ebp, ebp
jmp 0x409aca
mov eax, dword [esi]
add eax, ebp
call fcn.00409a48
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409abd
test bl, bl
je 0x409ae5
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 0x409b04
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a7c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40a008], 0x8088405
inc edx
mov dword [ebx + 0x40a008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x4090f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40927b
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x40926e
mov ebp, dword [eax]
cmp ebp, 0
je 0x40926e
movzx ebp, byte [eax + 4]
mov ebx, ebp
and ebx, 4
cmp bl, 0
je 0x409149
mov ebx, 0x5f6d22
mov dword [esp], ebx
mov dword [esp + 4], 0x21
call fcn.00429580
mov eax, dword [esp + 0x14]
movzx ebp, byte [eax + 5]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x4091cc
mov ecx, dword [eax + 0xc]
xor eax, eax
cmp eax, 8
jae 0x40917a
mov esi, eax
shl esi, 2
add esi, 8
mov ebx, ecx
add ebx, esi
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
je 0x4091a0
inc eax
cmp eax, 8
jb 0x40915e
mov eax, dword [esp + 0x10]
movzx ebp, word [eax + 0x34]
mov eax, ebp
sub eax, 4
mov ebx, ecx
add ebx, eax
mov ecx, dword [ebx]
xor ebp, ebp
cmp ecx, ebp
jne 0x409157
mov ebx, 0x6d0680
mov dword [esp + 0x1c], ebx
add esp, 0xc
ret
mov ebx, ecx
add ebx, eax
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
je 0x409174
mov ebx, dword [esp + 0x10]
movzx ebp, byte [ebx + 0x32]
mov ebx, ebp
imul ebx, eax
add ebx, 0x28
mov eax, ebx
mov ebx, ecx
add ebx, eax
mov dword [esp + 0x1c], ebx
add esp, 0xc
ret
lea ebx, [esp + 0x18]
xor ebx, 0
mov dword [esp], ebx
mov ebp, dword [eax + 8]
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ebx, dword [edx]
call ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 8]
movzx ecx, byte [edi + 5]
mov ebx, 1
cmp cl, 0x20
jae 0x40926a
shl ebx, cl
dec ebx
mov edx, ebx
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
imul eax, ebp
mov ecx, dword [edi + 0xc]
add ecx, eax
mov eax, dword [edi + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x409157
shr edx, 1
and edx, esi
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
mov ebx, ebp
mov ebp, edx
imul ebp, ebx
mov edx, eax
add edx, ebp
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jbe 0x409266
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jae 0x409266
mov eax, 1
cmp al, 0
jne 0x409157
mov ecx, edx
jmp 0x409157
xor eax, eax
jmp 0x409256
xor ebx, ebx
jmp 0x409203
mov ebx, 0x6d0680
mov dword [esp + 0x1c], ebx
add esp, 0xc
ret
call fcn.0044fe90
jmp fcn.004090f0