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

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x14ffde14
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x14ffde25
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.14ffde66
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x150001d2
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 0x1500011b
add ebx, 0
push ecx
call 0x15000130
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, 0x712ab043
sub ebx, dword [0x712ca882]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x712ca872
call fcn.14ffbbfa
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.14ffb108
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1500028e
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1500028e
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 0x15000245
mov eax, 1
lock xchg dword [0x712ca87e], eax
push 0x3dd1fc71
call 0x150001d2
push esi
add esp, 8
cmp eax, 0
jne 0x150001bb
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x150001e1
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x150001f6
cmp ecx, edx
cmp eax, 0
je 0x1500021b
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 0x15000205
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.15000234
dec eax
loope 0x15000237
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x712ca87e], 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 0x1500026b
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x15000280
jmp 0x1500028b
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x15000179
Function at 0x150072f3
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 0x150075c9
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x712b74f6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x712ae4bc
push 0xffffffffffffffff
call fcn.14ffe4f3
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 0x1500735d
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.15007375
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 0x150075bd
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x15007591
Function at 0x15016dc3
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 0x15016de5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x15016de5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x15016de5
ret
cmp word [ebx + 4], 0x14c
jne 0x15016de5
test word [ebx + 0x16], 2
je 0x15016de5
test word [ebx + 0x16], 0x100
je 0x15016de5
cmp word [ebx + 0x18], 0x10b
jne 0x15016de5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x15016de5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x15016e71
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x15016e05
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.14ffdd50
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x15016de5
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 0x15016e71
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 0x15016de5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x15016de5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x15016de5
ret
cmp word [ebx + 4], 0x14c
jne 0x15016de5
test word [ebx + 0x16], 2
je 0x15016de5
test word [ebx + 0x16], 0x100
je 0x15016de5
cmp word [ebx + 0x18], 0x10b
jne 0x15016de5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x15016de5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x15016e71
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x15016e05
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.14ffdd50
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x15016de5
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 0x15016f28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x15016f81
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x15016f28
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x15016f37
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 0x1541cbda
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 0x15016f88
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.14ffddfe
cmp eax, dword [ebp + 0xc]
pop eax
je 0x15017027
add edi, 4
add eax, 2
dec ecx
jne 0x15016f6d
call 0x15016fd4
loope 0x15016fca
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x15017024
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 0x15017035
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 0x15016fe8
cmp eax, ecx
ja 0x15016fe8
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x15017072
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x15017068
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.14ffe2dd
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x15016f37
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x15016f81
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x15016f28
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x15016f37
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 0x1541cbda
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 0x15016f88
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.14ffddfe
cmp eax, dword [ebp + 0xc]
pop eax
je 0x15017027
add edi, 4
add eax, 2
dec ecx
jne 0x15016f6d
call 0x15016fd4
loope 0x15016fca
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x15017024
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 0x15017035
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 0x15016fe8
cmp eax, ecx
ja 0x15016fe8
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x15017072
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x15017068
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.14ffe2dd
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1001c170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004c2e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea eax, [esi + 0x48]
mov dword [esp + 0x14], 0
push eax
mov dword [esi], vtable.CRowset.0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], 1
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0xffffffff
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
call fcn.100135b0
and dword [esi + 0xac], 0xfffffffc
mov ecx, esi
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
cmovne ecx, eax
mov dword [esi + 0xb8], 0
mov eax, esi
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0xffffffff
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe8], 0xffffffff
mov dword [esi + 0xec], 1
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x10019783
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001c4dc
push ebx
push esi
call fcn.1001c408
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001c39c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001c489
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c4db
push edi
push eax
call fcn.1001d3fa
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001c4a9
call fcn.1001aee4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001c4da
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001c39c
add esp, 0x20
test eax, eax
jne 0x1001c4c8
push edi
call fcn.1001aee4
jmp 0x1001c4d0
push ebx
call fcn.1001aee4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001c749
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cc8
push 0x10024cc0
push str.FlsAlloc
push 0x1f
call fcn.1001c665
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c77d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
jmp 0x1001c783
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001c7c7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cd8
push 0x10024cd0
push str.FlsGetValue
push 0x21
call fcn.1001c665
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c7fe
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001c806
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024ce0
push 0x10024cd8
push str.FlsSetValue
push 0x22
call fcn.1001c665
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c840
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10021ec0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x5808483e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x62d874e4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401935
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00410330
mov eax, dword [0x245d26c]
mov ecx, dword [0x245ccf8]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4019ed
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x245d26c], 0x959
jne 0x4019dc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
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.Yimu_givexohipalipen
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push str.Hipejes_joh_jagibavicedok_lozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1000]
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_GetModuleHandleW]
call fcn.00401544
add ebx, 8
dec edi
jne 0x401961
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401cc6
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x245d26c], 0x400
push edi
jne 0x401d19
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.00404241
push esi
call fcn.004049c8
push esi
push esi
call fcn.00404813
push esi
call fcn.00404a7e
push esi
push esi
call fcn.0040427b
add esp, 0x1c
xor edi, edi
cmp edi, 0x16c76
jge 0x401d2b
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401d51
inc edi
cmp edi, 0x3003f
jl 0x401d1b
mov eax, dword [0x43fb7c]
mov dword [0x245d26c], eax
call fcn.004019f0
mov edi, 0x3078f
cmp dword [0x245d26c], 0x51f
jne 0x401d7d
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401d65
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x402850
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x436fad
call fcn.00436e30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00403526
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00404a8d
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x402898
call fcn.004032da
mov dword [ebx], eax
call fcn.00403099
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x40289a
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x405115
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e99c]
jne 0x40511f
repz ret
jmp fcn.0040ba6c
Function at 0x4105fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e99c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004073bb
and dword [ebp - 0x14], 0
cmp dword [0x44ab64], 0
mov dword [ebp - 0x18], eax
jne 0x4106af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410757
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x410757
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44ab64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44ab68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44ab6c], eax
call edi
push eax
call esi
mov dword [0x44ab74], eax
test eax, eax
je 0x4106af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44ab70], eax
mov eax, dword [0x44ab70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410708
cmp dword [0x44ab74], ecx
je 0x410708
push eax
call esi
push dword [0x44ab74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410708
test ebx, ebx
je 0x410708
call edi
test eax, eax
je 0x4106ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4106ff
test byte [ebp - 8], 1
jne 0x410708
or dword [ebp + 0x10], 0x200000
jmp 0x41073b
mov eax, dword [0x44ab68]
cmp eax, dword [ebp - 0x18]
je 0x41073b
push eax
call esi
test eax, eax
je 0x41073b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41073b
mov eax, dword [0x44ab6c]
cmp eax, dword [ebp - 0x18]
je 0x41073b
push eax
call esi
test eax, eax
je 0x41073b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44ab64]
call esi
test eax, eax
je 0x410757
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410759
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405115
leave
ret