joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2a70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x11743e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4d2a94
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
lea eax, [ecx + edx*2]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
sub edx, 4
cmp dword [ebp - 8], edx
jl 0x4d2ae4
mov eax, dword [ebp - 8]
add eax, 0x4000
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 0xa
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x11f1e04]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x4d2b2c
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0x100000
jle 0x4d2b2c
cmp dword [ebp - 8], 0x100000
jge 0x4d2b00
mov dword [ebp - 8], 0x100000
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 0xa
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x11f1e04]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x4d2b50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x11743e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
sub eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4d2e20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x11743e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x4d2e5e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x4d2e5e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x4d2e60
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4d2ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x11743e0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4e9370
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x30]
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 4], 0
mov edi, dword [ebx + 4]
mov ebp, dword [ebx]
lea eax, [edi + 1]
push eax
push esi
call fcn.004ea1e0
add esp, 8
test eax, eax
je 0x4e93c2
test edi, edi
je 0x4e93b4
mov eax, dword [esi + 4]
add eax, dword [esi]
push edi
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
add dword [esi + 4], edi
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov byte [ecx + eax], 0
jmp 0x4e93d1
push str.Out_of_memory
push 1
call fcn.004e8a10
add esp, 8
mov dword [esi + 0x10], 0
lea edi, [esi + 0xc]
mov eax, dword [ebx + 0xc]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
inc eax
add eax, ebp
push eax
push edi
call fcn.004ea1e0
add esp, 8
test eax, eax
je 0x4e941f
test ebp, ebp
je 0x4e9411
mov eax, dword [edi + 4]
add eax, dword [edi]
push ebp
push dword [esp + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
add dword [edi + 4], ebp
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov byte [ecx + eax], 0
jmp 0x4e942e
push str.Out_of_memory
push 1
call fcn.004e8a10
add esp, 8
mov dword [esi + 0x1c], 0
add esi, 0x18
mov edi, dword [ebx + 0x1c]
mov ebx, dword [ebx + 0x18]
mov eax, dword [esi + 4]
inc eax
add eax, edi
add eax, eax
push eax
push esi
call fcn.004ea1e0
add esp, 8
test eax, eax
je 0x4e9482
test edi, edi
je 0x4e946f
mov ecx, dword [esi + 4]
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
push ebx
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
add dword [esi + 4], edi
xor edx, edx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
pop edi
pop esi
pop ebp
mov word [eax + ecx*2], dx
pop ebx
ret
pop edi
pop esi
pop ebp
pop ebx
mov dword [esp + 8], str.Out_of_memory
mov dword [esp + 4], 1
jmp fcn.004e8a10

Function at 0x4f0660
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jns 0x4f0678
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 9
or eax, 0xffffffff
ret
cmp dword [esp + 0xc], 0
jne 0x4f0682
xor eax, eax
ret
push eax
call dword [sym.imp.MSVCRT.dll__get_osfhandle]
add esp, 4
lea ecx, [esp + 4]
push 0
push ecx
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4f06ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
jne 0x4f06c3
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0xb
or eax, 0xffffffff
ret
cmp eax, 0x6d
je 0x4f067f
cmp eax, 5
jne 0x4f06dd
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 9
or eax, 0xffffffff
ret
push eax
call fcn.004f0390
add esp, 4
or eax, 0xffffffff
ret
mov eax, dword [esp + 4]
ret
Function at 0x4f0920
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jns 0x4f0938
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 9
or eax, 0xffffffff
ret
push 0
lea ecx, [esp + 8]
push ecx
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__get_osfhandle]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4f0984
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4f0977
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 9
or eax, 0xffffffff
ret
push eax
call fcn.004f0390
add esp, 4
or eax, 0xffffffff
ret
mov eax, dword [esp + 4]
ret

Function at 0x50eb30
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x50eb50
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x50eb50
mov eax, dword [eax + 0x44]
test eax, eax
je 0x50eb50
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x51f6ce
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x11f1840], 0
push ebx
push esi
mov esi, 0x11f1848
jne 0x51f6fa
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x11f1860], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x11f1840], 1
push dword [0x11f1860]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x51f797
push 0x14
push 8
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x51f7c1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x11f1844]
test eax, eax
je 0x51f73c
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x11f1844], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x51f7c6
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x11f1860]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x51f7c1
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x51fe69
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x184
push 8
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x11f1cf0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x11f1cf4], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.00522a79
mov dword [esi + 0x58], 0x520a7c
mov eax, esi
mov dword [esi + 0x5c], 0x520ac8
mov dword [esi + 0x10], fcn.0052061d
mov dword [esi + 0x30], 0x52050f
mov dword [esi + 0x64], 0x520b52
mov dword [esi + 0x60], 0x520b0a
mov dword [esi + 0x34], 0x5201bf
mov dword [esi + 0x24], 0x520196
mov dword [esi + 0x28], 0x52016b
mov dword [esi + 0x2c], 0x5200bd
mov dword [esi + 0x44], 0x520882
pop esi
ret 4
Function at 0x8ccab9
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0x7bebf0
test esi, esi
jmp 0xc4c2c0
pop ebp
jmp 0x7a4d8f
ret
jne 0xc780e4
mov edx, dword [eax + ecx + 0x78]
test bx, di
mov dword [ebp - 4], edx
test edx, edx
jmp 0x7c2808
je 0xc780e4
mov eax, dword [eax + ecx + 0x7c]
cmc
cmp bp, bp
jmp 0x88abdc
test ecx, ecx
jmp 0x837d18
je 0xbf087b
mov eax, dword [edx + ecx + 0x20]
stc
cmp esi, edi
lea eax, [eax + ecx]
stc
cmc
xor ebx, ebx
jmp 0x7e4a5f
mov edi, dword [edx + ecx + 0x18]
cmc
cmp bp, 0x19bc
stc
test edi, edi
jmp 0x8022ec
je 0xc780e4
mov esi, dword [ebp + 0xc]
jmp 0x73b01b
push ebx
push edi
clc
mov dword [ebp - 0x10], eax
clc
mov dword [ebp - 8], 0xffffffff
test eax, ebp
clc
jmp 0x8be865
cmp esi, 0xffff
ja 0x827b68
mov eax, esi
cmp ecx, esp
sub eax, dword [edx + ecx + 0x10]
jmp 0x8d8419
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
lea esp, [esp - 0x114]
push esi
jmp 0x7d6902
mov dword [ebp - 8], eax
jmp 0xbfae4c
jmp 0xbf087b
mov esp, ebp
mov bp, 0x6228
jmp 0x77d385
je 0xc780e4
mov eax, 0x5a4d
test esp, 0x45bb5c38
stc
cmc
cmp word [ecx], ax
jmp 0xc780de
je 0x7278a4
xor eax, eax
pop esi
jmp 0xc3a61c
Function at 0x401000
Capabilities:
Encode data using xor
Execute command
Hash data with crc32
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.Japanese
push 0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov eax, dword [ebp + 0xc]
push 0x4021ac
push dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov edi, eax
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
push ebx
call fcn.004011bf
push edi
push 1
mov esi, eax
push ebx
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x40
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
test ebx, ebx
je 0x401111
cmp ebx, 8
jb 0x4010f5
movups xmm1, xmmword [0x4025d0]
cmp ebx, 0x40
jb 0x4010d1
mov edi, ebx
lea ecx, [esi + 0x20]
and edi, 0x3f
mov edx, ebx
sub edx, edi
movups xmm0, xmmword [ecx - 0x20]
add eax, 0x40
lea ecx, [ecx + 0x40]
pandn xmm0, xmm1
movups xmmword [ecx - 0x60], xmm0
movups xmm0, xmmword [ecx - 0x50]
pandn xmm0, xmm1
movups xmmword [ecx - 0x50], xmm0
movups xmm0, xmmword [ecx - 0x40]
pandn xmm0, xmm1
movups xmmword [ecx - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x30]
pandn xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
cmp eax, edx
jb 0x401092
cmp edi, 8
jb 0x4010f5
mov ecx, ebx
mov edx, ebx
and ecx, 7
sub edx, ecx
nop word [eax + eax]
movq xmm0, qword [eax + esi]
pandn xmm0, xmm1
movq qword [eax + esi], xmm0
add eax, 8
cmp eax, edx
jb 0x4010e0
cmp eax, ebx
jae 0x401111
nop dword [eax]
not byte [eax + esi]
inc eax
cmp eax, ebx
jb 0x401100
mov edx, 0x15
mov edi, ebx
jmp 0x40111c
mov edx, 0x15
mov edi, ebx
test ebx, ebx
je 0x401173
mov ecx, esi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
xor al, dl
add edx, edi
ror al, 1
mov byte [ecx - 1], al
sub edi, 1
jne 0x401120
xor ecx, ecx
nop word [eax + eax]
mov eax, ecx
and eax, 0x3ff
mov al, byte [eax + 0x4021c0]
xor byte [ecx + esi], al
inc ecx
cmp ecx, ebx
jb 0x401140
mov edx, 0x19
mov edi, ebx
mov ecx, esi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
rol al, 1
xor al, dl
add edx, edi
mov byte [ecx - 1], al
sub edi, 1
jne 0x401160
mov eax, dword [ebp + 0xc]
push 0x4021b0
push dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
push esi
push 1
push ebx
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4019f5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a34
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a34
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a34
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a34
cmp dword [ecx + 0x74], 0xe
jbe 0x401a34
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x11442e18
Capabilities:
Encode data using xor

Disassembly:
jmp 0x11442e22
pushal
call 0x11442e28
pop ebp
sub ebp, 0x10
sub ebp, 0x1442e18
jmp 0x11442e3e
mov eax, 0x1442e18
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ba
mov edx, 0xa20cf932
xor byte [eax], dl
inc eax
dec ecx
jne 0x11442e55
jmp 0x11442e68
mov ecx, 0xebbb9ff
xor dh, byte [edx]
xor dh, byte [ebx + 0x3232caf3]
xor dh, byte [ecx]
dec dword [edx + 0x32323238]
mov byte [edx], bl
xor dh, byte [edx]
xor al, ch
sal byte [ecx], 1
cli
mov ecx, 0x32323eb3
xor dh, byte [ecx]
idiv dword [edi - 0x4431e9aa]
push ss
bound ebx, qword [edx + 6]
pop eax
adc esi, dword [edx]
pop edx
salc
int1
adc byte [ebx], dh
xor ebx, dword [esi]
push ss
pop edx
sbb eax, 0xda7d367c
aaa
xor dh, byte [edx]
xor bl, bl
sbb dh, byte [edx]
xor dh, byte [edx]
outsw dx, word [si]
mov ecx, 0x32323ab7
xor bh, byte [ecx + 0x32323ea7]
xor bh, byte [ecx + 0x323222bf]
xor dh, bl
invalid

Function at 0x408937
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edi, 0x4085d8
mov ecx, 0xfc74b173
add esi, 1
call fcn.00408966
mov ecx, 0x85773dc0
xor dword [eax], edi
and ecx, ecx
inc eax
sub ecx, 0xc6f3378b
and ecx, esi
cmp eax, edx
jne fcn.00408937
inc esi
push ecx
pop ecx
ret

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

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

Disassembly:
call fcn.1055c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1055c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055c06a
add dl, dl
jne 0x1055c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055c0dc
xor eax, eax
add dl, dl
jne 0x1055c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055c17d
add dl, dl
jne 0x1055c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1055c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1055c075
mov eax, 1
add dl, dl
jne 0x1055c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1055c0e1
sub eax, ebx
mov ebx, 1
jne 0x1055c128
mov ecx, 1
add dl, dl
jne 0x1055c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1055c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1055c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1055c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1055c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1055c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1055c136
cmp eax, 0x7d00
jae 0x1055c16d
cmp eax, 0x500
jb 0x1055c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1055c075
cmp eax, 0x7f
ja 0x1055c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1055c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1055c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1055c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
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 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x411de0
jmp fcn.00412d60
cmp ecx, dword [section..data]
jne 0x411dea
repz ret
jmp 0x4110af
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 0x419dd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x419df2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419df9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x419de8
mov eax, 1
add ebx, ebx
jne 0x419e0d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419e02
jne 0x419e1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419e02
xor ecx, ecx
sub eax, 3
jb 0x419e32
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419ea6
mov ebp, eax
add ebx, ebx
jne 0x419e3d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419e4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419e6e
inc ecx
add ebx, ebx
jne 0x419e5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419e4f
jne 0x419e6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419e4f
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x419e90
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419e82
jmp 0x419dee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419e90
add edi, ecx
jmp 0x419dee
pop esi
mov edi, esi
mov ecx, 0x2ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419eae
cmp byte [edi], 7
jne 0x419eae
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 0x419eb3
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419f2b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419ee0
mov ecx, edi
jns 0x419f0f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1907c]
or eax, eax
je 0x419f25
mov dword [ebx], eax
add ebx, 4
jmp 0x419efd
call dword [esi + 0x19080]
popal
jmp 0x4041b3