joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024de6
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 0x10024e08
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10024e08
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10024e08
ret
cmp word [ebx + 4], 0x14c
jne 0x10024e08
test word [ebx + 0x16], 2
je 0x10024e08
test word [ebx + 0x16], 0x100
je 0x10024e08
cmp word [ebx + 0x18], 0x10b
jne 0x10024e08
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10024e08
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10024e94
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10024e28
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000bd73
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10024e08
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 0x10024e94
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 0x10024e08
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10024e08
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10024e08
ret
cmp word [ebx + 4], 0x14c
jne 0x10024e08
test word [ebx + 0x16], 2
je 0x10024e08
test word [ebx + 0x16], 0x100
je 0x10024e08
cmp word [ebx + 0x18], 0x10b
jne 0x10024e08
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10024e08
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10024e94
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10024e28
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000bd73
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10024e08
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 0x10024f4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10024fa4
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10024f4b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10024f5a
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 0x1042abfd
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 0x10024fab
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.1000be21
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002504a
add edi, 4
add eax, 2
dec ecx
jne 0x10024f90
call 0x10024ff7
loope 0x10024fed
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10025047
mov dh, pe_nt_image_headers32
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 0x10025058
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 0x1002500b
cmp eax, ecx
ja 0x1002500b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10025095
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002508b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000c300
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10024f5a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10024fa4
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10024f4b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10024f5a
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 0x1042abfd
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 0x10024fab
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.1000be21
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1002504a
add edi, 4
add eax, 2
dec ecx
jne 0x10024f90
call 0x10024ff7
loope 0x10024fed
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10025047
mov dh, pe_nt_image_headers32
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 0x10025058
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 0x1002500b
cmp eax, ecx
ja 0x1002500b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10025095
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002508b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000c300
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1c2183c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0xd
call fcn.01c2190f
test al, al
je 0x1c218fb
push 0
call fcn.01c401c4
add esp, 4
test eax, eax
je 0x1c218db
mov esi, eax
mov eax, dword [eax]
mov ecx, esi
call dword [eax + 0x18]
lea ebx, [ebp - 0x14]
mov dword [ebx], 0
mov eax, 0x40
push ebx
push eax
push eax
push section..crthunk
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1c218e2
push 0x1cb5618
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov edx, dword [esi]
xor edi, edi
mov ecx, esi
push edi
push 0x40
push section..crthunk
push 0x1c21430
push edi
push str.NtMapViewOfSection
push 0x1c20000
push eax
call dword [edx + 4]
test eax, eax
js 0x1c218e9
push ebx
push 0x20
push 0x40
push section..crthunk
call dword [sym.imp.kernel32.dll_VirtualProtect]
jmp 0x1c218f3
mov edi, 0xe
jmp 0x1c218fb
mov edi, 0xf
jmp 0x1c218f3
mov dword [0x1ceac4c], eax
mov edi, 0x10
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c236b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 0x1c7e8c0
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
pop ebp
ret

Function at 0x1c2659c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1c265ae
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1c265d8
mov esi, dword [ecx + 4]
mov edi, dword [edx + 0x3c]
lea ebx, [edi + 0x18]
xor eax, eax
cmp ebx, esi
ja 0x1c265a9
add edx, edi
cmp dword [edx], 0x4550
jne 0x1c265a9
add edx, 4
mov dword [ecx + 0x10], edx
mov eax, edx
jmp 0x1c265a9
mov edx, dword [ecx]
xor eax, eax
test edx, edx
je 0x1c265a9
mov dword [ecx + 0xc], edx
mov esi, dword [ecx + 4]
cmp esi, 0x40
jb 0x1c265f6
movzx edi, word [edx]
cmp edi, 0x5a4d
je 0x1c265b8
mov dword [ecx + 0xc], 0
jmp 0x1c265a9
Function at 0x1c26a00
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
xor edi, edi
push dword [esi + edi*4 + 0x28]
call fcn.01c92118
add esp, 4
mov dword [esi + edi*4 + 0x28], eax
inc edi
cmp edi, 0x10
jne 0x1c26a0d
xor eax, eax
mov ecx, dword [esi + eax*4 + 0x48]
xor ecx, dword [esi + eax*4 + 0x5c]
xor ecx, dword [esi + eax*4 + 0x30]
xor ecx, dword [esi + eax*4 + 0x28]
rol ecx, 1
mov dword [esi + eax*4 + 0x68], ecx
inc eax
cmp eax, 0x40
jne 0x1c26a25
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x24]
xor edi, edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
mov ebx, eax
mov eax, edx
mov edx, ecx
rol edx, 5
cmp edi, 0x14
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], ecx
jae 0x1c26aa7
mov ecx, ebx
mov ebx, eax
and ebx, ecx
add ebx, edx
mov edx, eax
not edx
and edx, esi
add ebx, edx
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edi*4 + 0x28]
mov ecx, 0x5a827999
jmp 0x1c26afc
cmp edi, 0x28
jae 0x1c26ac3
xor ebx, esi
xor ebx, eax
add ebx, edx
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edi*4 + 0x28]
mov ecx, 0x6ed9eba1
jmp 0x1c26afc
cmp edi, 0x3b
mov dword [ebp - 0x18], esi
ja 0x1c26ad7
mov ecx, ebx
or ecx, esi
and ecx, eax
and ebx, esi
or ebx, ecx
jmp 0x1c26adb
xor ebx, esi
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add ebx, edx
add ebx, esi
add ebx, dword [ecx + edi*4 + 0x28]
cmp edi, 0x3c
mov ecx, 0xca62c1d6
mov edx, 0x8f1bbcdc
cmovb ecx, edx
mov esi, dword [ebp - 0x18]
add ebx, ecx
rol eax, 0x1e
inc edi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x34]
mov edx, ecx
cmp edi, 0x50
jne 0x1c26a6d
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x10], esi
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0xc], edx
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [edi], ebx
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x20]
add ecx, ebx
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
add ecx, esi
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov dword [edi + 0x24], eax
mov dword [edi + 0x168], 0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c2a050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x1c2a07f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x1c2a061
pop esi
pop edi
pop ebp
ret 8
Function at 0x1c2a190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x1c2a1c1
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x1c2a1a1
pop esi
pop edi
pop ebp
ret 8
Function at 0x1c30690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
lea ecx, [esi + 0x80]
mov dword [ecx - 4], esp
xor edx, edx
dec edx
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x1c3d700
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
lea eax, [esi + 0x18]
mov word [eax + 4], 0
mov dword [eax], 0x7025
lea edi, [esi + 0x50]
mov dword [edi + 0x10], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esi + 0x70]
push ebx
call fcn.01c2c0a0
add esp, 4
push dword [ebp + 0x18]
lea eax, [esi + 0x18]
push eax
push dword [ebx + 4]
push dword [ebx]
push 0x14
push edi
call fcn.01c3fbe3
add esp, 0x18
mov dword [esi + 0x14], eax
add eax, esi
add eax, 0x50
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
push eax
push edi
call fcn.01c2f2d6
add esp, 0xc
mov dword [esi + 0xc], eax
xor eax, eax
dec eax
mov dword [esi + 0x41], eax
mov dword [esi + 0x3d], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
lea edi, [esi + 8]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.01c27a98
lea eax, [esi + 0x80]
mov dword [eax + 8], 0
mov ecx, edi
push 0x1ceb198
call fcn.01c39278
mov ebx, eax
mov ecx, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1c30776
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x88], 0xffffffff
lea edx, [esi + 0x20]
mov ecx, ebx
push edx
mov edi, dword [esi + 0x10]
push edi
lea ebx, [esi + 0x50]
push ebx
call eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, ebx
cmp ecx, edi
mov ecx, dword [esi + 0x14]
lea ecx, [esi + ecx + 0x20]
lea eax, [esi + eax + 0x20]
cmove eax, ecx
movsx edx, byte [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push ecx
push eax
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.01c23840
add esp, 0x1c
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x1c33e84
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.01c3cef4
mov ebx, eax
test esi, esi
je 0x1c33ebd
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1c33eaa
movzx eax, word [eax]
jmp 0x1c33eb1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x1c33ebd
test bl, bl
jne 0x1c33ec3
jmp 0x1c33f20
xor esi, esi
test bl, bl
jne 0x1c33f11
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1c33ed2
movzx eax, word [eax]
jmp 0x1c33ed7
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x1c33f02
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1c33efb
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1c33e90
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1c33e90
mov ecx, edi
call fcn.01c3cef4
mov ebx, eax
test esi, esi
jne 0x1c33f29
jmp 0x1c33f1a
mov ecx, edi
call fcn.01c3cef4
mov ebx, eax
test bl, bl
jne 0x1c33f48
jmp 0x1c33f4e
mov ecx, edi
call fcn.01c3cef4
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1c33f36
movzx eax, word [eax]
jmp 0x1c33f3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x1c33f4e
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x1c35330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x90]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x1c3d880
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x20]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0xc], fcn.01c23bd0
mov dword [esi + 0x14], edx
mov dword [eax + 8], 1
lea eax, [esi + 4]
mov dword [eax], edx
push eax
call fcn.01c27a98
mov dword [esi + 0x98], 2
lea ecx, [esi + 4]
push 0x1ceb198
call fcn.01c39278
mov dword [esi + 0x10], eax
mov al, byte [ebp + 0x14]
lea ecx, [esi + 0x84]
lea edx, [esi + 3]
mov byte [edx], 0
lea edi, [esi + 0x14]
lea ebx, [esi + 8]
movzx eax, al
push ecx
push edi
push ebx
push dword [esi + 0x10]
push edx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 4]
push ecx
push eax
push dword [esi + 0x1c]
lea eax, [ebp + 0xc]
push eax
call fcn.01c34890
add esp, 0x2c
test al, al
je 0x1c35490
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + 0xb], 0
js 0x1c3542a
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
jmp 0x1c35436
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [esi + 3], 0
je 0x1c35452
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x2d
call dword [eax + 0x1c]
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.01c3e2a8
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x30
call dword [eax + 0x1c]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x14]
lea ebx, [edi - 1]
cmp edx, ebx
jae 0x1c3547c
lea ecx, [edx + 1]
cmp ebx, ecx
cmova ecx, ebx
cmp byte [edx], al
jne 0x1c3547c
inc edx
cmp ecx, edx
jne 0x1c35471
mov edx, ecx
mov dword [esi + 0x98], 2
mov ecx, dword [ebp + 0x20]
push edi
push edx
call fcn.01c3cf30
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.01c24270
mov edi, dword [ebp + 8]
test al, al
je 0x1c354a9
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 4]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1c354c2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x1c354e4
mov dword [esi + 0x98], 0
push eax
call dword [esi + 0xc]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x1c40681
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x38], eax
mov ebx, 0x57
test ecx, ecx
je 0x1c4070e
mov edi, edx
test edx, edx
je 0x1c4070e
mov esi, ecx
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movups xmmword [eax + 0xc], xmm0
movaps xmmword [eax], xmm0
push 0x1c
push eax
push ecx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x1c40706
test byte [esp + 0x24], 0xf0
lea ebx, [esp + 0xc]
mov dword [ebx], 0
mov eax, 4
mov ecx, 0x40
cmove ecx, eax
push ebx
push ecx
push 4
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1c40706
mov eax, dword [edi]
mov dword [esi], eax
push ebx
push dword [esp + 0x10]
push 4
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
xor ebx, ebx
jmp 0x1c4070e
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c410c3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x1c410ec
mov eax, dword [ecx + 4]
test eax, eax
je 0x1c41113
mov eax, 0x300
mov ecx, ebx
and ecx, eax
cmp ecx, eax
je 0x1c41113
cmp edi, 2
mov eax, 0x1ceba96
mov ecx, 0x1cebc96
cmove ecx, eax
cmp word [ecx], 0
je 0x1c41126
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.01c8b52d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
lea esi, [esp + 0x20]
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x1c41113
cmp byte [0x1ceba94], 0
setne al
bt ebx, 8
jb 0x1c41113
shr ebx, 9
and ebx, 1
or bl, al
je 0x1c41113
cmp edi, 2
mov eax, 0x1cb8b84
mov edx, 0x1cb8b98
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ebx, byte [eax + 0xb]
test bl, bl
js 0x1c41185
mov ecx, ebx
mov esi, eax
mov eax, ebx
jmp 0x1c4118a
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
mov ebx, dword [edx + 4]
mov edi, eax
sub edi, ebx
jb 0x1c411d8
push ebx
push dword [edx]
push esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.01c92118
mov edx, dword [esp + 0x24]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x1c411e8
add edx, 0x14
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x1c411ab
jmp 0x1c41252
movzx ecx, word [esi + ebx*2]
cmp cx, 0x5c
je 0x1c411f7
test cx, cx
jne 0x1c411d8
lea eax, [esi + ebx*2]
mov ebx, dword [edx + 8]
cmp ebx, 1
je 0x1c41217
cmp ebx, 2
mov esi, ebx
jne 0x1c41225
mov dword [esp + 8], str.WOW6432Node
mov dword [esp + 4], eax
jmp 0x1c41225
mov dword [esp + 8], str.WOW6432Node_
mov dword [esp + 4], esi
mov esi, ebx
mov dword [esp + 0xc], esi
cmp cx, 0x5c
jne 0x1c4123e
lea esi, [eax + 2]
dec edi
cmp word [eax + 2], 0x5c
mov eax, esi
je 0x1c4122f
jmp 0x1c41240
mov esi, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
xor ecx, ecx
mov edx, eax
mov eax, edi
jmp 0x1c411e0
cmp dword [esp + 0xc], 0
je 0x1c41113
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x1c4126a
mov eax, ecx
jmp 0x1c4126c
mov eax, dword [ecx]
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
push dword [esp + 8]
push edx
call fcn.01c3ee72
jmp 0x1c41113