joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404990
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x45b328
push 0x427cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x46706c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x12c], esi
test edi, edi
jne 0x404a15
mov dword [ebp - 4], edx
push edx
push edx
push edx
push 0x80000003
call dword [sym.imp.KERNEL32.dll_RaiseException]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], 0
push 0
push 0
lea eax, [ebp - 0x128]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov edi, eax
xor esi, esi
test edi, edi
jne 0x404a63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push str.p2pnetwork.ini
push ecx
mov edx, str.pop_errorbox
mov ecx, str.Debug
call fcn.004047e0
test eax, eax
je 0x404abe
test edi, edi
je 0x404a8e
push reloc.advapi32.dll_RegDeleteKeyA
push 0x454468
push 0x454470
jmp 0x404ab6
push esi
push 0x4544b0
push 0x100
lea eax, [ebp - 0x11c]
push eax
call fcn.00402f60
add esp, 0x10
push reloc.advapi32.dll_RegDeleteKeyA
push 0x454468
lea eax, [ebp - 0x11c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042318e
mov esp, ebp
pop ebp
ret
Function at 0x406fd0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
mov edi, edx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407080
push 0
lea eax, [ebp - 8]
push eax
push reloc.advapi32.dll_RegDeleteKeyA
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 0x40
jne 0x407080
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x407080
push 0
push 0
push dword [edi + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x407080
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 8]
push 0
push eax
push 0xf8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 0xf8
jne 0x407080
cmp dword [edi], 0x4550
jne 0x407080
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042318e
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042318e
mov esp, ebp
pop ebp
ret
Function at 0x40e880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4414a8
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 0
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - reloc.advapi32.dll_SetKernelObjectSecurity], ax
cmp word [ebp - reloc.advapi32.dll_SetKernelObjectSecurity], ax
jne 0x40e928
xor ecx, ecx
jmp 0x40e940
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e931
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00409420
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x40ea8e
push 1
push ecx
push 0x455c5c
lea ecx, [ebp - 0x230]
call fcn.0040eb20
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x40e9c5
push 1
push ecx
push 0x455c60
lea ecx, [ebp - 0x230]
call fcn.0040eb20
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x40e9c5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov word [eax], dx
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x40ea8e
lea eax, [ecx + 1]
push eax
push ecx
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040df90
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x230]
call fcn.00409f00
push 0x11
push 0x455c64
lea ecx, [ebp - 0x230]
call fcn.0040a020
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ea7f
test al, 0x10
jne 0x40ea7f
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.0040e270
mov dword [ebp - 0x24c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00407960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00407960
jmp 0x40eaf7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00407960
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x4551f4
mov word [esi], ax
call fcn.00409420
mov dword [ebp - 0x24c], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40eada
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00409ea0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - reloc.advapi32.dll_SetKernelObjectSecurity], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042318e
mov esp, ebp
pop ebp
ret 4
Function at 0x41ddf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447968
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x41df03
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
test al, al
je 0x41df03
cmp dword [esi + 0x3c], 0
jne 0x41ded9
cmp dword [esi + 0x14], 0
je 0x41ded9
push 0x454304
lea edx, [esi + 4]
lea ecx, [ebp - 0x58]
call fcn.00413e10
lea ecx, [esi + 0x20]
mov dword [ebp - 4], 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00413f00
push str..log
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040d3e0
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.004024e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004024e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push reloc.advapi32.dll_RegDeleteKeyA
cmovae eax, dword [ebp - 0x28]
push 0x458c00
push eax
call fcn.0042d0da
add esp, 0xc
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x41deca
call fcn.0042b9b4
mov eax, dword [eax]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004024e0
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x41df03
mov eax, edi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41dee5
push edx
sub eax, ebx
push eax
push 1
push edi
call fcn.0042b8e3
push dword [esi + 0x3c]
call fcn.0042b28c
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042318e
mov esp, ebp
pop ebp
ret 4
Function at 0x421f30
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421cb0

Function at 0x432ff0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432e6f

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x467250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
jmp 0x46726a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467271
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467260
mov eax, 1
add ebx, ebx
jne 0x467283
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467294
jne 0x4672b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4672b3
dec eax
add ebx, ebx
jne 0x4672a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467278
add ebx, ebx
jne 0x4672af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467305
xor ecx, ecx
sub eax, 3
jb 0x4672cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46733a
sar eax, 1
mov ebp, eax
jmp 0x4672d6
add ebx, ebx
jne 0x4672d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4672a4
inc ecx
add ebx, ebx
jne 0x4672e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4672a4
add ebx, ebx
jne 0x4672f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4672e6
jne 0x467302
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4672e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467324
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467316
jmp 0x467266
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467324
add edi, ecx
jmp 0x467266
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467342
cmp byte [edi], 0
jne 0x467342
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x467347
mov ebp, dword [esi + 0x676d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4673a2
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40633c
pop dword [ebp - 0x40]
mov eax, 0x930bfa22
add eax, 0x6d34691a
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x51e990f1
sub dword [ebp - 0x50], 0x3974ba6
mov dword [ebp - 0x4c], 0x37d3bdec
sub dword [ebp - 0x4c], 0x5a071a7
mov dword [ebp - 0x48], 0xc960db74
add dword [ebp - 0x48], 0x82eb68ba
mov dword [ebp - 0x44], 0xaa633ab1
add dword [ebp - 0x44], 0x559cc54f
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x1991fbf8
sub dword [ebp - 0x50], 0xa51f92a2
mov dword [ebp - 0x4c], 0xe91fd71d
add dword [ebp - 0x4c], 0x584c8a58
mov dword [ebp - 0x48], 0x33b88c56
add dword [ebp - 0x48], 0x2fb6e016
mov dword [ebp - 0x44], 0x23970854
sub dword [ebp - 0x44], 0x23970854
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xe3aed125
add eax, 0x1c919fdb
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x35759
push 0
call eax
mov ecx, 0x10b2f17d
sub ecx, 0x10b2ae20
xor edx, edx
add edx, eax
mov edi, 0x2d2fd5f
add edi, 0xfd6e02a1
add edi, dword [ebp - 0x40]
mov esi, 0xb6ea90e5
xor dword [ebp - 0x10], edx
mov ebx, dword [edi]
add ebx, esi
mov dword [ebp - 0x10], 0xc100f775
mov dword [edx], ebx
add dword [ebp - 0xc], eax
add edx, 0x709a6cb6
sub edx, 0x709a6cb2
add edi, 0x6483e043
add edi, 0x9b7c1fc1
loop 0x406455
add eax, 0x7db046fb
add eax, 0x8250b94c
mov ebx, eax
add eax, 0x50833d24
sub eax, 0x50833d1f
mov ecx, 0xcba94471
sub ecx, 0xcb694471
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x406937
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x40b138
call fcn.00406c3c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x40dbfc
push 0
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
test eax, eax
je 0x4066d6
cmp eax, esi
jne 0x4066c9
xor esi, esi
inc esi
mov ebx, esi
jmp 0x4066d9
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x4066b0
xor esi, esi
inc esi
mov eax, dword [0x40dbf8]
cmp eax, esi
jne 0x4066ec
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x40671b
mov eax, dword [0x40dbf8]
test eax, eax
jne 0x406715
mov dword [0x40dbf8], esi
push 0x4072cc
push 0x4072c4
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40671b
jmp 0x406843
mov dword [0x40c2cc], esi
mov eax, dword [0x40dbf8]
cmp eax, esi
jne 0x40673f
push 0x4072c0
push 0x4072b8
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x40dbf8], 2
test ebx, ebx
jne 0x40674b
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x40dc08], 0
je 0x40676f
push 0x40dc08
call fcn.00406bc2
pop ecx
test eax, eax
je 0x40676f
push 0
push 2
push 0
call dword [0x40dc08]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4067cb
test al, al
je 0x406789
cmp dword [ebp - 0x1c], 0
jne 0x4067cb
mov al, byte [esi]
test al, al
je 0x406799
cmp al, 0x20
ja 0x406799
inc esi
mov dword [ebp - 0x20], esi
jmp 0x406789
test byte [ebp - 0x3c], 1
je 0x4067a5
movzx eax, word [ebp - 0x38]
jmp 0x4067a8
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x40c2c8], eax
cmp dword [0x40c2bc], 0
jne 0x40681f
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x4067da
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x4067ed
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x406776
cmp dword [0x40c2cc], 0
jne 0x40682e
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x40c2c8]
jmp 0x40684f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00406c81
ret
call fcn.0040632d
jmp 0x406676

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
nop
sub eax, 0x40a009
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
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40eb68
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 0x40ec3d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40ec58
push ebx
push 0x40ec68
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
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.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ebe8
mov al, 0x6a
call fcn.0040e788
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb3c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ebf1
call fcn.0040eb3c
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 0x40ec44
lea eax, [ebp - 4]
call fcn.00404c88
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
jmp 0x40ee17
cmp dword [esi + 0x10], 0x1000
jne 0x40ee03
test byte [esi + 0x15], 1
jne 0x40ee03
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40edb4
cmp ebp, 2
je 0x40edb4
cmp ebp, 0x10
je 0x40edb4
cmp ebp, 0x20
jne 0x40edd0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40edd0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ede1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ed50
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40edd4
cmp byte [esp + 4], 0
je 0x40ee03
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
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 edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ee23
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ed89
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408939
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.0040895e
dec eax
add edi, eax
xor dword [ecx], esi
inc ecx
sub edi, edi
sub edi, 0x4cb5acd9
cmp ecx, edx
jne fcn.00408939
sub edi, 1
mov edi, eax
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xc9
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x90
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe7
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x4a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x2e
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x19
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x82
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x64
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x20
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x81
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x21
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x65
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x65
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x33
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x6a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x36
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x5d
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x63
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xd2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x49
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x72
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x6f
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xbd
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x75
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xdb
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3d
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret