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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x41d3c4
add ebx, 0
push ecx
call 0x41d3d9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x94a1dc
sub ebx, dword [0x969a1b]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x969a0b
call fcn.00418ea3
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.004183b1
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x41d537
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x41d537
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x41d4ee
mov eax, 1
lock xchg dword [0x969a17], eax
push 0x3dd1fc71
call 0x41d47b
push esi
add esp, 8
cmp eax, 0
jne 0x41d464
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x41d48a
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x41d49f
cmp ecx, edx
cmp eax, 0
je 0x41d4c4
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x41d4ae
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0041d4dd
dec eax
loope 0x41d4e0
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x969a17], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x41d514
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x41d529
jmp 0x41d534
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x41d422

Function at 0x42459c
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x424872
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x95668f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x94d655
push 0xffffffffffffffff
call fcn.0041b79c
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x424606
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0042461e
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x424866
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x42483a
Function at 0x43406c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x43408e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x43408e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x43408e
ret
cmp word [ebx + 4], 0x14c
jne 0x43408e
test word [ebx + 0x16], 2
je 0x43408e
test word [ebx + 0x16], 0x100
je 0x43408e
cmp word [ebx + 0x18], 0x10b
jne 0x43408e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x43408e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x43411a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4340ae
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0041aff9
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x43408e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x43411a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x43408e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x43408e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x43408e
ret
cmp word [ebx + 4], 0x14c
jne 0x43408e
test word [ebx + 0x16], 2
je 0x43408e
test word [ebx + 0x16], 0x100
je 0x43408e
cmp word [ebx + 0x18], 0x10b
jne 0x43408e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x43408e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x43411a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4340ae
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0041aff9
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x43408e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x4341d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x43422a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4341d1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4341e0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x839e83
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x434231
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0041b0a7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4342d0
add edi, 4
add eax, 2
dec ecx
jne 0x434216
call 0x43427d
loope 0x434273
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4342cd
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4342de
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x434291
cmp eax, ecx
ja 0x434291
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x43431b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x434311
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0041b586
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4341e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x43422a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4341d1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4341e0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x839e83
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x434231
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0041b0a7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4342d0
add edi, 4
add eax, 2
dec ecx
jne 0x434216
call 0x43427d
loope 0x434273
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4342cd
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4342de
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x434291
cmp eax, ecx
ja 0x434291
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x43431b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x434311
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0041b586
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10001070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
jmp 0x1000113c
lea eax, [ebp - 0x104]
push eax
call 0x100012e8
push 0x1000107e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x10001209
lea eax, [ebp - 0x108]
push eax
push 0x20019
push 0
push 0x10001112
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x1000126e
mov dword [ebp - 0x10c], 0x103
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x10001102
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x1000126e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x100011ee
mov word [ebx], 0x5c
push 0x10001132
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x1000126e
mov dword [0x1000300c], eax
push 0x10001107
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10001263
push eax
push 0x3ea
call eax
pop edx
test eax, eax
je 0x10001263
mov dword [0x10003008], eax
push 0x3eb
mov ebx, section..data
call edx
test eax, eax
je 0x10001263
mov dword [section..data], edx
call 0x1000124a
add dword [esp], 0x4db6
call eax
mov dword [0x10003004], eax
sub esp, 4
pop dword [0x10003010]
leave
ret
push dword [0x1000300c]
call sub.KERNEL32.dll_FreeLibrary
mov dword [0x1000300c], 0
mov dword [section..data], 0xffffffff
mov dword [0x10003010], 0
mov dword [0x10003004], 0
mov dword [0x10003008], 0
push 0x10
push 0x1000112c
push 0x10001088
push 0
call sub.USER32.dll_MessageBoxA
push 0xffffffffffffffff
call sub.KERNEL32.dll_ExitProcess
leave
ret

Function at 0x10043a02
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x20044
jmp fcn.10001058

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4010d7
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThreadpool]
mov ecx, eax
mov dword [0x40540c], ecx
test ecx, ecx
jne 0x401118
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.tpcf:__d_n
call fcn.00401029
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadpoolThreadMaximum]
push dword [ebp - 0x10]
push dword [0x40540c]
call dword [sym.imp.KERNEL32.dll_SetThreadpoolThreadMinimum]
call dword [sym.imp.KERNEL32.dll_CreateThreadpoolCleanupGroup]
mov ecx, eax
mov dword [0x405408], ecx
test ecx, ecx
jne 0x401167
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.pf:__d_n
call fcn.00401029
pop ecx
pop ecx
push dword [0x40540c]
call dword [sym.imp.KERNEL32.dll_CloseThreadpool]
jmp 0x401110
mov eax, dword [0x40540c]
mov dword [0x4053f0], esi
mov dword [0x4053f4], esi
mov dword [0x4053f8], esi
mov dword [0x4053fc], esi
mov dword [0x4053ec], esi
mov dword [0x4053e0], 3
mov dword [0x405400], 1
mov dword [0x405404], 0x28
mov dword [0x4053e4], eax
mov dword [0x4053e8], ecx
pop esi
leave
ret

Function at 0x4011b6
Capabilities:
Create process on windows
Get token membership
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0xd4]
sub esp, 0x154
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0xd0], eax
push ebx
xor ebx, ebx
mov word [ebp - 0x38], 0x500
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401218
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x40]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x44], ebx
jne 0x40127a
push 0x104
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40127a
push 0x38
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x3c
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x74], str.runas
lea eax, [ebp - 0x34]
mov dword [ebp - 0x6c], str.__food
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], ebx
push eax
mov dword [ebp - 0x64], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x401277
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push ebx
jmp 0x401271
mov ecx, dword [ebp + 0xd0]
xor ecx, ebp
pop ebx
call fcn.00401bbf
add ebp, 0xd4
leave
ret
Function at 0x401290
Capabilities:
Stop service

Disassembly:
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x401318
mov dword [esp + 8], str.wuauserv
mov dword [esp + 0xc], str.bits
mov dword [esp + 0x10], str.cryptsvc
push ebp
push 0x24
push dword [esp + esi*4 + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, eax
test ebp, ebp
je 0x40130a
lea eax, [esp + 0x18]
push eax
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401303
push dword [esp + esi*4 + 0xc]
push str.s__s_st._n
call fcn.00401029
pop ecx
pop ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc esi
cmp esi, 3
jb 0x4012ce
pop ebp
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.00401bbf
add esp, 0x2c
ret
Function at 0x401a6a
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Generate random numbers via winapi
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push edi
push 0xf0000000
push 0x18
xor edi, edi
lea eax, [esp + 0x14]
push edi
push edi
push eax
mov ebx, edx
mov ebp, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x401adc
push ebp
push 0x20
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push ebx
push 0x10
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
movaps xmm2, xmmword [0x403420]
movups xmm0, xmmword [edi + ebp]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [edi + ebp], xmm1
add edi, 0x10
cmp edi, 0x20
jb 0x401ab8
movups xmm0, xmmword [ebx]
pop edi
pop ebp
xorps xmm2, xmm0
movups xmmword [ebx], xmm2
pop ebx
pop ecx
ret
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x401ae5
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 2
push edi
mov edi, dword [ebp + 0xc]
jge 0x401b23
call fcn.004011b6
push 0
push 0
push str.__food
push dword [edi]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x401bb2
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.00401a6a
call fcn.00401290
movaps xmm1, xmmword [0x403420]
xor eax, eax
movups xmm0, xmmword [ebp + eax - 0x34]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x34], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x401b3c
movups xmm0, xmmword [ebp - 0x14]
xorps xmm1, xmm0
movups xmmword [ebp - 0x14], xmm1
call fcn.004010d7
push str.__food
push dword [edi + 4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x401baf
push ecx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.004018c4
pop ecx
push 0
push 0
push dword [0x405408]
call dword [sym.imp.KERNEL32.dll_CloseThreadpoolCleanupGroupMembers]
push dword [0x405408]
call dword [sym.imp.KERNEL32.dll_CloseThreadpoolCleanupGroup]
push dword [0x40540c]
call dword [sym.imp.KERNEL32.dll_CloseThreadpool]
jmp 0x401b1c
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00401bbf
leave
ret

Function at 0x4023bf
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [str.b0be]
and dword [ebp - 8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43aef4]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
call fcn.00401022
mov eax, dword [0x43aef8]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x43aefc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, dword [0x24588cc]
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x18]
cmp eax, 0xfa9
jne 0x40109f
mov dword [0x24588c8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ad
and dword [0x2458354], 0
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, ecx
sub edi, eax
cmp dword [0x24588cc], 0xc
mov dword [0x24588c4], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010fd
lea eax, [ebp - 0x28]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
lea eax, [ebp - 0x828]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x1c]
add ecx, edi
xor eax, ecx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401076
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret

Function at 0x40113b
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x24588cc]
mov ecx, dword [0x2458358]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4011f6
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x24588cc], 0x959
jne 0x4011e5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.zewaxuwawazuwuyuvivi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401029
add ebx, 8
dec edi
jne 0x401163
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401496
Capabilities:
Clear file content
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
xor esi, esi
cmp dword [0x24588cc], 0x400
push edi
jne 0x4014f3
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.0040162d
push esi
push esi
call fcn.00401763
push esi
call fcn.00401d81
push esi
push esi
call fcn.00401bcc
push esi
call fcn.00401e17
push esi
push esi
call fcn.00401667
add esp, 0x24
xor edi, edi
cmp edi, 0x16d2a
jge 0x40150b
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x401530
inc edi
cmp edi, 0x3011b
jl 0x4014f5
mov eax, dword [0x43b33c]
mov dword [0x24588cc], eax
call fcn.004011f9
mov edi, 0x3078f
cmp dword [0x24588cc], 0x51f
jne 0x40155e
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x401544
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x405e1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a678]
jne 0x405e25
repz ret
jmp fcn.00407c5a