joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101e0ad0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x103250d4], 0x1c6a
mov dword [ebp - 4], 0
mov dword [0x103250d8], 0x2f2
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x103250d4], 0xb29
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101e0bba
mov dword [0x103250d8], 0xa81
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x101e0be6
jmp 0x101e0ba1
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], eax
jl 0x101e0bba
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101e0b83
jmp 0x101e0ba1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101e0b1d
jmp 0x101e0ba1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101e0ba1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101e0bd5
xor eax, eax
mov ecx, dword [0x103250d8]
add ecx, 0xfffff6b5
mov dword [0x103250d8], ecx
mov dword [ebp - 0x24], eax
jmp 0x101e0bfd
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x101e0b5e
jmp 0x101e0b47
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101e0b72
jmp 0x101e0ba1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
jne 0x101e0ba1
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x101e1230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x103250dc], 0
mov dword [0x103250e0], 0
mov dword [0x103250ec], 0
mov dword [0x103250d4], 0x145d
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x101e13a1
jmp 0x101e1385
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, 0x100
mov ebx, ecx
add ebx, 0x21fe
mov dword [0x103250d4], ebx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x103250dc], edx
add ecx, 0x3191
mov dword [0x103250d8], ecx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x103250e0], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x103250e4], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x103250d8], 0x2b4
mov cl, byte [0x103250e4]
mov edx, dword [0x103250e0]
mov byte [edi + edx], cl
mov edx, dword [0x103250dc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x103250e0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x103250d8], 0xdf3
and ebx, 0xff
mov dword [0x103250ec], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x101e1383
mov eax, dword [0x103250d4]
mov ecx, dword [0x103250dc]
mov edx, dword [0x103250e0]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
jmp 0x101e1289
jmp 0x101e13a1
xor eax, eax
mov ecx, 0x145d
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], eax
jmp 0x101e1289
mov dword [0x103250d8], 0x2692
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a3c3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], 0x5b5
cmp dword [ebp - 0x18], 0x2361
jle 0x1000a42e
lcall 0xb893, 0x8a52eab2
mov esp, 0x92ac0d66
popfd
imul edx, dword [edi - 0x7bd15b31], 0xba1b0a0f
sti
add al, 0x72
xchg edx, eax
rcl byte [esi + 0x5c], 0x43
fld st(7)
imul esi, dword [eax], 0x68
add eax, 0xac34492
push 0xffffffffffffffcb
mov al, 0x8a
push edi
xor dl, byte [esp + edi*8 + 0x5d]
inc eax
dec ecx
xchg ebp, eax
mov ah, 5
test edi, edx
mov dh, 0xab
int3
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x1f
jmp 0x1000a442
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1000a522
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 8]
je 0x1000a45f
mov byte [ebp - 1], 1
jmp 0x1000a463
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
mov dword [ebp - 0x1c], 0xaf6
cmp dword [ebp - 0x1c], 0x240f
jle 0x1000a4c9
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 0xc]
je 0x1000a4dc
mov byte [ebp - 2], 1
jmp 0x1000a4e0
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov byte [ebp - 4], al
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
and eax, ecx
je 0x1000a4f8
and dword [ebp - 0x14], 0
jmp 0x1000a505
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
or eax, ecx
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 5]
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x1000a43b
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10012cbe
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10012cf2
push 0x1a8
push 0
push 0xe2
push 0x1b4e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
jmp 0x10012d22
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10012d22
push 0xe4
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x1001ab7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001aba5
push 0xe4
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1001abca
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001abca
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov esp, ebp
pop ebp
ret
Function at 0x10023df0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10023e29
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x10023e42
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10023e42
push 0x1d0e
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret
Function at 0x100288dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100288f3
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x10028923
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10028923
push 0xe4
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x1002a4b6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002a4da
xor eax, eax
jmp 0x1002a5e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002a4f8
xor eax, eax
jmp 0x1002a5e4
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.1002a08c
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1002a516
xor eax, eax
jmp 0x1002a5e4
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002a3ba
add esp, 0x18
push 0x4a8e
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002a442
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002a56d
push 1
push dword [ebp - 4]
push dword [ebp - 0x14]
call fcn.10026b0b
add esp, 0xc
push dword [ebp - 4]
call fcn.10029df3
pop ecx
test eax, eax
jne 0x1002a57e
xor eax, eax
jmp 0x1002a5e4
push 0
push dword [ebp - 4]
call fcn.100245e8
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002a5cc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002a5a9
xor eax, eax
jmp 0x1002a5e4
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002a5c2
xor eax, eax
jmp 0x1002a5e4
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002a5dd
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002a5e1
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10039aeb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10039b0d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and dword [eax], 0
jmp 0x10039b30
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10039b30
push 0x1d0e
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret
Function at 0x1003c091
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003c0b7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1003c0d1
push 0xe4
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x1006d273
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007438c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005d71c
mov dword [ebp - 0x14], eax
cmp dword [0x10661c20], esi
jne 0x1006d366
push 0x800
push esi
push 0x10009168
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006d2f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006d446
push esi
push esi
push 0x10009168
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006d446
push 0x10009180
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006d446
push eax
call ebx
push 0x1000918c
push edi
mov dword [0x10661c20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000919c
push edi
mov dword [0x10661c24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100091b0
push edi
mov dword [0x10661c28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10661c30], eax
test eax, eax
je 0x1006d363
push 0x100091cc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10661c2c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006d38b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006d37e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006d3a0
push 4
pop eax
jmp 0x1006d448
cmp dword [ebp - 0x14], esi
je 0x1006d3a0
push dword [0x10661c20]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006d385
mov eax, dword [0x10661c2c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006d3fe
cmp dword [0x10661c30], edi
je 0x1006d3fe
push eax
call ebx
push dword [0x10661c30]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006d3fe
test eax, eax
je 0x1006d3fe
call ecx
test eax, eax
je 0x1006d3f3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006d3f3
test byte [ebp - 8], 1
jne 0x1006d3fe
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006d42e
mov eax, dword [0x10661c24]
cmp eax, edi
je 0x1006d42b
push eax
call ebx
test eax, eax
je 0x1006d42b
call eax
mov esi, eax
test esi, esi
je 0x1006d42b
mov eax, dword [0x10661c28]
cmp eax, edi
je 0x1006d42b
push eax
call ebx
test eax, eax
je 0x1006d42b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10661c20]
call ebx
test eax, eax
je 0x1006d446
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006d448
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100598b5
mov esp, ebp
pop ebp
ret
Function at 0x56f740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x112000]
push edi
jmp 0x56f75a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56f761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f750
mov eax, 1
add ebx, ebx
jne 0x56f773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56f784
jne 0x56f7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f7a3
dec eax
add ebx, ebx
jne 0x56f790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56f768
add ebx, ebx
jne 0x56f79f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56f7f5
xor ecx, ecx
sub eax, 3
jb 0x56f7bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56f82a
sar eax, 1
mov ebp, eax
jmp 0x56f7c6
add ebx, ebx
jne 0x56f7c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f794
inc ecx
add ebx, ebx
jne 0x56f7d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56f794
add ebx, ebx
jne 0x56f7e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56f7d6
jne 0x56f7f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56f7d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56f814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56f806
jmp 0x56f756
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56f814
add edi, ecx
jmp 0x56f756
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56f832
cmp byte [edi], 0x11
jne 0x56f832
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 0x56f837
lea edi, [esi + 0x168000]
mov eax, dword [edi]
or eax, eax
je 0x56f8af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f91f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f936c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56f864
mov ecx, edi
jns 0x56f893
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 + 0x1f9370]
or eax, eax
je 0x56f8a9
mov dword [ebx], eax
add ebx, 4
jmp 0x56f881
call dword [esi + 0x1f9380]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56f8e0
cmp al, 0xef
ja 0x56f8d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56f8b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56f8c2
mov ebp, dword [esi + 0x1f9374]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x56f914
sub esp, 0xffffff80
jmp 0x420577
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x40f2d2
Capabilities:
Parse pe header

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

Function at 0x411a60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x411a8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x411a8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x403d60
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
test ecx, ecx
jne 0x403d82
push edx
push str._s__none__s
push dword [0x4efe14]
call fcn.00401240
add esp, 0x10
pop esi
pop ebp
ret
test ecx, 0x80000
mov esi, 0x4e35e4
mov eax, str._utf
cmove eax, esi
test ecx, 0x800000
push eax
mov eax, str._use_offset_limit
cmove eax, esi
test ecx, 0x40000
push eax
mov eax, str._ungreedy
cmove eax, esi
test ecx, 0x20000
push eax
mov eax, str._ucp
cmove eax, esi
test ecx, 0x10000
push eax
mov eax, str._no_start_optimize
cmove eax, esi
test ecx, 0x40000000
push eax
mov eax, str._no_utf_check
cmove eax, esi
test ecx, 0x8000
push eax
mov eax, str._no_dotstar_anchor
cmove eax, esi
test ecx, 0x4000
push eax
mov eax, str._no_auto_possess
cmove eax, esi
test ecx, 0x2000
push eax
mov eax, str._no_auto_capture
cmove eax, esi
test ecx, 0x1000
push eax
mov eax, str._never_utf
cmove eax, esi
test ecx, 0x800
push eax
mov eax, str._never_ucp
cmove eax, esi
test ecx, 0x100000
push eax
mov eax, str._never_backslash_c
cmove eax, esi
test ecx, 0x400
push eax
mov eax, str._multiline
cmove eax, esi
test ecx, 0x200
push eax
mov eax, str._match_unset_backref
cmove eax, esi
test ecx, 0x4000000
push eax
mov eax, str._match_invalid_utf
cmove eax, esi
test ecx, 0x2000000
push eax
mov eax, str._literal
cmove eax, esi
test ecx, 0x100
push eax
mov eax, str._firstline
cmove eax, esi
test ecx, 0x1000000
push eax
mov eax, str._extended_more
cmove eax, esi
test cl, 0x80
push eax
mov eax, str._extended
cmove eax, esi
test ecx, 0x20000000
push eax
mov eax, str._endanchored
cmove eax, esi
push eax
test cl, 0x40
mov eax, str._dupnames
cmove eax, esi
test cl, 0x20
push eax
mov eax, str._dotall
cmove eax, esi
test cl, 0x10
push eax
mov eax, str._dollar_endonly
cmove eax, esi
test cl, 8
push eax
mov eax, str._caseless
cmove eax, esi
test cl, 4
push eax
mov eax, str._auto_callout
cmove eax, esi
test ecx, ecx
push eax
mov eax, str._anchored
cmovns eax, esi
test cl, 1
push eax
mov eax, str._allow_empty_class
cmove eax, esi
test ecx, 0x400000
push eax
mov eax, str._alt_verbnames
cmove eax, esi
test ecx, 0x200000
push eax
mov eax, str._alt_circumflex
cmove eax, esi
test cl, 2
push eax
mov eax, str._alt_bsux
cmove eax, esi
push eax
push edx
push str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
push dword [0x4efe14]
call fcn.00401240
add esp, 0x88
pop esi
pop ebp
ret
Function at 0x40d500
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x4eb544]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x40d549
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d549
push 0xc00
call eax
test eax, eax
jne 0x40d5de
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x40d5de
cmp ecx, 0x104
ja 0x40d5de
cmp word [ebp + ecx*2 - 0x2d6], 0x5c
je 0x40d582
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov al, byte [str.userenv]
push esi
mov esi, str.userenv
test al, al
je 0x40d5dd
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + ecx*2]
mov ecx, edi
inc esi
movzx eax, al
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [esi]
inc esi
test al, al
jne 0x40d5a5
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
mov al, byte [esi]
test al, al
jne 0x40d5a2
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047be9b
mov esp, ebp
pop ebp
ret