joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10191a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
lea eax, [edi + 0xf0ac]
push dword [eax]
mov dword [eax], 0x4ad4b4a6
push eax
push edi
or ebp, 0xffffffff
jmp 0x10191d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10191d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10191c8
mov eax, 1
add ebx, ebx
jne 0x10191eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10191e0
jne 0x10191fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10191e0
xor ecx, ecx
sub eax, 3
jb 0x1019210
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1019282
mov ebp, eax
add ebx, ebx
jne 0x101921b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1019228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x101924c
inc ecx
add ebx, ebx
jne 0x1019238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101922d
jne 0x1019249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101922d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101926c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101925d
jmp 0x10191ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101926c
add edi, ecx
jmp 0x10191ce
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x5b9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101928e
cmp byte [edi], 4
jne 0x101928e
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 0x1019293
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x101930b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19788]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10192c0
mov ecx, edi
jns 0x10192ef
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 + 0x1984c]
or eax, eax
je 0x1019305
mov dword [ebx], eax
add ebx, 4
jmp 0x10192dd
call dword [esi + 0x19848]
mov ebp, dword [esi + 0x19850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x101933f
sub esp, 0xffffff80
jmp 0x100d8bd
Function at 0x3001fd1a
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x300228c8
call fcn.300200cd
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, 0x3003208c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x3001fab9
cmp eax, esi
jne 0x3001faac
xor esi, esi
inc esi
mov ebx, esi
jmp 0x3001fabc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x3001fa93
xor esi, esi
inc esi
mov eax, dword [0x30032088]
cmp eax, esi
jne 0x3001facf
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x3001fafe
mov eax, dword [0x30032088]
test eax, eax
jne 0x3001faf8
mov dword [0x30032088], esi
push 0x30001404
push 0x300013f8
call fcn.300cb000
pop ecx
pop ecx
test eax, eax
je 0x3001fafe
jmp 0x3001fc26
mov dword [0x30031d20], esi
mov eax, dword [0x30032088]
cmp eax, esi
jne 0x3001fb22
push 0x300013f4
push 0x300013d4
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x30032088], 2
test ebx, ebx
jne 0x3001fb2e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x30032098], 0
je 0x3001fb52
push 0x30032098
call fcn.3002032e
pop ecx
test eax, eax
je 0x3001fb52
push 0
push 2
push 0
call dword [0x30032098]
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 0x3001fbae
test al, al
je 0x3001fb6c
cmp dword [ebp - 0x1c], 0
jne 0x3001fbae
mov al, byte [esi]
test al, al
je 0x3001fb7c
cmp al, 0x20
ja 0x3001fb7c
inc esi
mov dword [ebp - 0x20], esi
jmp 0x3001fb6c
test byte [ebp - 0x3c], 1
je 0x3001fb88
movzx eax, word [ebp - 0x38]
jmp 0x3001fb8b
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x30031d1c], eax
cmp dword [0x30031d10], 0
jne 0x3001fc02
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x3001fbbd
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 0x3001fbd0
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x3001fb59
cmp dword [0x30031d20], 0
jne 0x3001fc11
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x30031d1c]
jmp 0x3001fc32
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.30020112
ret
call fcn.3001f3bc
jmp 0x3001fa59
Function at 0x401330
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x35c
mov ecx, dword [esp + 0x374]
mov ebx, dword [esp + 0x370]
mov eax, dword [esp + 0x378]
mov dword [esp], 0x110
mov dword [esp + 4], 1
mov dword [esp + 0x10c], ecx
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
add esp, 8
xor ebp, ebp
mov edi, dword [sym.imp.WS2_32.dll_send]
jmp 0x401398
mov eax, str.Failed_send_packet
push eax
call fcn.00401ca0
add esp, 4
add ebp, esi
cmp ebp, 0x110
je 0x4013bb
mov eax, 0x110
sub eax, ebp
lea ecx, [esp + ebp]
push 0
push eax
push ecx
push ebx
call edi
mov esi, eax
cmp eax, 0xffffffff
je 0x401380
test esi, esi
jne 0x40138e
mov eax, str.Sending_error
jmp 0x401385
xor ebp, ebp
mov edi, dword [sym.imp.WS2_32.dll_recv]
jmp 0x4013e8
mov eax, str.Failed_recv_packet
push eax
call fcn.00401ca0
add esp, 4
add ebp, esi
cmp ebp, 0x209
je 0x401411
mov eax, 0x209
sub eax, ebp
lea ecx, [esp + ebp]
add ecx, 0x150
push 0
push eax
push ecx
push ebx
call edi
mov esi, eax
cmp eax, 0xffffffff
je 0x4013d0
test esi, esi
jne 0x4013de
mov eax, str.Connection_closed
jmp 0x4013d5
cmp byte [esp + 0x158], 0
jne 0x401453
lea eax, [esp + 0x110]
push 0xa
push eax
push dword [esp + 0x37c]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
add esp, 0xc
push eax
call fcn.00401fc0
add esp, 4
lea eax, [esp + 0x159]
push eax
push 0x40434e
call fcn.00401ca0
add esp, 8
add esp, 0x35c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401460
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 4], 8
mov dword [esp + 8], 8
xor edi, edi
mov ebx, dword [sym.imp.WS2_32.dll_send]
jmp 0x4014a5
mov eax, str.Failed_send_packet
push eax
call fcn.00401ca0
add esp, 4
add edi, esi
cmp edi, 8
je 0x4014ce
mov eax, 8
sub eax, edi
lea ecx, [esp + edi]
add ecx, 4
push 0
push eax
push ecx
push dword [esp + 0x38]
call ebx
mov esi, eax
cmp eax, 0xffffffff
je 0x401490
test esi, esi
jne 0x40149e
mov eax, str.Sending_error
jmp 0x401495
xor edi, edi
mov ebx, dword [sym.imp.WS2_32.dll_recv]
jmp 0x4014f5
mov eax, str.Failed_recv_packet
push eax
call fcn.00401ca0
add esp, 4
add edi, esi
cmp edi, 0xc
je 0x40151e
mov eax, 0xc
sub eax, edi
lea ecx, [esp + edi]
add ecx, 0xc
push 0
push eax
push ecx
push dword [esp + 0x38]
call ebx
mov esi, eax
cmp eax, 0xffffffff
je 0x4014e0
test esi, esi
jne 0x4014ee
mov eax, str.Connection_closed
jmp 0x4014e5
xor eax, eax
cmp dword [esp + 0x14], 0
je 0x401590
cmp dword [esp + 0x34], 0
je 0x401590
xor eax, eax
mov dword [esp], eax
imul esi, eax, 0x26
add esi, dword [esp + 0x30]
xor ebp, ebp
jmp 0x401555
mov eax, str.Failed_recv_packet
push eax
call fcn.00401ca0
add esp, 4
add ebp, edi
cmp ebp, 0x26
je 0x401580
mov eax, 0x26
sub eax, ebp
lea ecx, [esi + ebp]
push 0
push eax
push ecx
push dword [esp + 0x38]
call ebx
mov edi, eax
cmp eax, 0xffffffff
je 0x401540
test edi, edi
jne 0x40154e
mov eax, str.Connection_closed
jmp 0x401545
mov eax, dword [esp]
inc eax
cmp eax, dword [esp + 0x14]
je 0x401590
cmp eax, dword [esp + 0x34]
jb 0x401530
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401620
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa48
mov ebp, dword [esp + 0xa6c]
mov esi, dword [esp + 0xa68]
mov eax, dword [esp + 0xa64]
mov dword [esp + 8], 0x1e
mov dword [esp + 0xc], 2
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
mov dword [esp + 0x22], esi
xor esi, esi
mov ebx, dword [sym.imp.WS2_32.dll_send]
jmp 0x401685
mov eax, str.Failed_send_packet
push eax
call fcn.00401ca0
add esp, 4
add esi, edi
cmp esi, 0x1e
je 0x4016b1
mov eax, 0x1e
sub eax, esi
lea ecx, [esp + esi]
add ecx, 8
push 0
push eax
push ecx
push dword [esp + 0xa6c]
call ebx
mov edi, eax
cmp eax, 0xffffffff
je 0x401670
test edi, edi
jne 0x40167e
mov eax, str.Sending_error
jmp 0x401675
xor ebx, ebx
mov esi, dword [sym.imp.WS2_32.dll_recv]
jmp 0x4016d8
mov eax, str.Failed_recv_packet
push eax
call fcn.00401ca0
add esp, 4
add ebx, edi
cmp ebx, 0x20d
je 0x401704
mov eax, 0x20d
sub eax, ebx
lea ecx, [esp + ebx]
add ecx, 0x28
push 0
push eax
push ecx
push dword [esp + 0xa6c]
call esi
mov edi, eax
cmp eax, 0xffffffff
je 0x4016c0
test edi, edi
jne 0x4016ce
mov eax, str.Connection_closed
jmp 0x4016c5
cmp byte [esp + 0x30], 0
jne 0x40173a
lea eax, [esp + 0x238]
push 0xa
push eax
push ebp
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
add esp, 0xc
push eax
call fcn.00401fc0
add esp, 4
lea eax, [esp + 0x35]
push eax
push 0x40434e
call fcn.00401ca0
add esp, 8
mov eax, dword [esp + 0x31]
mov dword [esp + 4], eax
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp], eax
xor edi, edi
nop word cs:[eax + eax]
xor ebp, ebp
jmp 0x401788
mov eax, str.Failed_recv_packet
push eax
call fcn.00401ca0
add esp, 4
add ebp, ebx
cmp ebp, 0x80d
je 0x4017c0
mov eax, 0x80d
sub eax, ebp
lea ecx, [esp + ebp]
add ecx, 0x238
push 0
push eax
push ecx
push dword [esp + 0xa6c]
call esi
mov ebx, eax
cmp eax, 0xffffffff
je 0x401770
test ebx, ebx
jne 0x40177e
mov eax, str.Connection_closed
jmp 0x401775
mov ebp, dword [esp]
lea eax, [edi + ebp]
mov ebx, dword [esp + 0xa40]
push ebx
lea ecx, [esp + 0x244]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, ebx
test ebp, ebp
je 0x4017f5
movzx eax, byte [esp + 0xa44]
and al, 1
je 0x401760
cmp edi, dword [esp + 4]
je 0x401808
push str.Invalid_size
call fcn.00401ca0
add esp, 4
mov eax, dword [esp + 0xa5c]
mov ecx, dword [esp]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x31]
mov dword [eax + 8], ecx
add esp, 0xa48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c10
Capabilities:
Execute command

Disassembly:
push esi
push eax
push str..utf8
push 0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
add esp, 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov dword [esp], 0
mov eax, esp
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp]
or eax, 4
mov dword [esp], eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push str.title
call esi
add esp, 4
push str.__...
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
push 0x404284
call esi
add esp, 4
call section..text
xor eax, eax
add esp, 4
pop esi
ret

Function at 0x401ca0
Capabilities:
Terminate process

Disassembly:
push esi
mov eax, 0x2004
call fcn.00402720
mov eax, dword [esp + 0x200c]
lea ecx, [esp + 0x2010]
mov dword [esp], ecx
lea esi, [esp + 4]
push ecx
push eax
push esi
call fcn.00401cf0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x10
push 0x4042d6
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401f30
Capabilities:
Terminate process

Disassembly:
push esi
mov eax, 0x1004
call fcn.00402720
mov eax, dword [esp + 0x100c]
lea ecx, [esp + 0x1010]
mov dword [esp], ecx
lea esi, [esp + 4]
push ecx
push eax
push esi
call fcn.00401f80
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x10
push 0x40434c
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401fc0
Capabilities:
Open clipboard
Terminate process
Write clipboard data

Disassembly:
push edi
push esi
mov edi, dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40201a
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
je 0x402022
mov esi, eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop edi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]

Function at 0x402e1a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402e59
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402e59
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402e59
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402e59
cmp dword [ecx + 0x74], 0xe
jbe 0x402e59
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x423e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
jmp 0x423e9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423ea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423e90
mov eax, 1
add ebx, ebx
jne 0x423eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423ea8
jne 0x423ec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423ea8
xor ecx, ecx
sub eax, 3
jb 0x423ed8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x423f4a
mov ebp, eax
add ebx, ebx
jne 0x423ee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x423ef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x423f14
inc ecx
add ebx, ebx
jne 0x423f00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x423ef5
jne 0x423f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423ef5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423f34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x423f25
jmp 0x423e96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423f34
add edi, ecx
jmp 0x423e96
pop esi
mov edi, esi
mov ecx, 0x3a1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423f52
cmp byte [edi], 5
jne 0x423f52
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 0x423f57
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423fc6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28190]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x281e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423f84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x281e8]
or eax, eax
je 0x423fc0
mov dword [ebx], eax
add ebx, 4
jmp 0x423fa1
call dword [esi + 0x281e4]
mov ebp, dword [esi + 0x281ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x423ffa
sub esp, 0xffffff80
jmp 0x401d0e
Function at 0x863b6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shr ecx, 2
xor dword [edx], eax
add edx, 4
dec ecx
jne 0x863b87
pop ebp
ret 0xc

Function at 0x863c2c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x863c5d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x863c3b
add dl, dl
jne 0x863c70
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x863ce0
xor eax, eax
add dl, dl
jne 0x863c85
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x863db5
add dl, dl
jne 0x863c98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x863ca7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x863cb6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x863cc5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x863cd3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x863c50
mov eax, 1
add dl, dl
jne 0x863cf2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x863d01
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x863ce5
sub eax, ebx
mov ebx, 1
jne 0x863d48
mov ecx, 1
add dl, dl
jne 0x863d26
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x863d35
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x863d19
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x863c50
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x863d63
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x863d72
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x863d56
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x863c50
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x863ddd
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 0x863c50
pop ebp
sub edi, dword [ebp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10004a70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x38], 0
je 0x10004b37
cmp byte [ebx + 0x3e], 0
je 0x10004b37
mov eax, dword [ebx]
push 0xffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, ebx
call esi
mov ecx, 0xffff
cmp cx, ax
je 0x10004aed
push edi
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x10004aff
sub eax, 1
je 0x10004b03
sub eax, 2
je 0x10004b37
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005540b
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3e], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x10004b20
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.10072317
add esp, 0x10
cmp esi, eax
jne 0x10004aed
cmp byte [ebx + 0x3e], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005540b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.1005540b
mov esp, ebp
pop ebp
ret
Function at 0x100223d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x38], 0
je 0x1002248f
cmp byte [ebx + 0x3d], 0
je 0x1002248f
mov eax, dword [ebx]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x10022445
push edi
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x10022457
sub eax, 1
je 0x1002245b
sub eax, 2
je 0x1002248f
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005540b
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x10022478
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.10072317
add esp, 0x10
cmp esi, eax
jne 0x10022445
cmp byte [ebx + 0x3d], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005540b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.1005540b
mov esp, ebp
pop ebp
ret
Function at 0x1005831f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10074cc4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.100748dc
push eax
push esi
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.10074891
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100748dc
push eax
push esi
push dword [ebp + 8]
call fcn.10074891
push ebp
sti
invalid
inc dword [ebx - 0x7a76cf3c]
dec eax
invalid
invalid
invalid
call fcn.100748cc
in al, dx
out 0x28, al
js 0x10074cd7
popfd
jl 0x10074d51
invalid
invalid

Function at 0x10074d76
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
pop esi
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
push edi

Function at 0x10074f50
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10074f80
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10074f7b
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10074f65
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10074f6d
cmp edx, ebx
jne 0x100750bb
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10074f3c
add eax, dword [eax + 4]
jmp 0x10074f29
mov dword [ebp + 0xc], ebx
jmp 0x10074f8b
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10074fa3
invalid