joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be5b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x511014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x516840], 0
je 0x4be5e8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x51683c]
test esi, esi
je 0x4be671
cmp byte [esi + 0xb], 0
jns 0x4be5fa
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x502860]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x516840], eax
inc eax
cmp eax, 1
ja 0x4be5d1
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.00498980
add esp, 0xc
mov word [esi - 2], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x4be6cd
xor ebx, ebx
jmp 0x4be5d1
push 0xc
call fcn.00494aa6
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.00498980
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.0041b590
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4be76b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
jmp 0x4be770
push esi
call fcn.00495e86
add esp, 4
mov ecx, dword [0x51683c]
push eax
push esi
call fcn.00416990
mov ecx, dword [0x51683c]
call fcn.00449710
cmp word [eax], 0x5c
je 0x4be706
mov ecx, dword [0x51683c]
push 1
push 0x5028c4
call fcn.0040adb0
mov ecx, dword [0x51683c]
push 9
push 0x5028c8
call fcn.0040adb0
mov eax, dword [0x51683c]
cmp byte [eax + 0xb], 0
jns 0x4be725
mov eax, dword [eax]
movaps xmm0, xmmword [0x502860]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x516840], eax
inc eax
cmp eax, 1
ja 0x4be5d1
mov dword [0x516840], 0
jmp 0x4be66a
and eax, 0x7f
mov ecx, esi
test eax, eax
jne 0x4be78d
mov ecx, esi
push 9
push 0x5028c8
call fcn.0040adb0
mov dword [0x51683c], esi
jmp 0x4be5f2
lea edi, [eax + eax]
test edi, edi
je 0x4be774
lea edx, [edi - 2]
cmp word [ecx + edi - 2], 0x5c
mov edi, edx
jne 0x4be790
cmp edx, 0xfffffffe
je 0x4be774
sar edx, 1
inc edx
cmp eax, edx
jb 0x4be7b7
mov ecx, esi
push edx
call fcn.004bef10
jmp 0x4be774
call fcn.004a8580
int3
Function at 0x4c7190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x449b60
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ebx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ebx + 4], 1
jne 0x4c71ff
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
movzx eax, word [ebp + 0x14]
mov ecx, esi
push dword [ebp - 0x20]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x4c732c
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x2c]
mov dword [ecx], eax
mov dword [ebp - 0x20], eax
lock inc dword [eax + 4]
mov dword [ebp - 0x10], 0
push 0x51617c
call fcn.004881f0
mov esi, eax
xor ebx, ebx
dec ebx
mov eax, ebx
mov ecx, dword [ebp - 0x20]
lock xadd dword [ecx + 4], eax
test eax, eax
mov cl, byte [ebp + 0x18]
jne 0x4c7254
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [ebp - 0x20]
call edi
mov cl, byte [ebp + 0x18]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea ebx, [ebp - 0x2c]
push ebx
call edi
mov cl, byte [ebp - 0x21]
test cl, cl
mov eax, dword [ebp - 0x2c]
mov esi, ebx
cmovs esi, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov edx, ebx
test cl, cl
cmovs edx, eax
js 0x4c72d7
movzx esi, cl
lea edx, [edx + esi*2]
mov esi, dword [ebp - 0x20]
cmp esi, edx
je 0x4c731c
test edi, edi
je 0x4c72e6
movzx esi, word [esi]
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x1c]
je 0x4c72ea
lea ecx, [eax + 2]
mov dword [edi + 0x18], ecx
mov word [eax], si
xor edx, edx
cmp si, 0xffff
je 0x4c72c7
mov edx, edi
mov cl, byte [ebp - 0x21]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
add esi, 2
mov edi, edx
jmp 0x4c728c
mov esi, dword [ebp - 0x28]
lea edx, [edx + esi*2]
mov esi, dword [ebp - 0x20]
cmp esi, edx
jne 0x4c72a5
jmp 0x4c7336
xor edx, edx
jmp 0x4c72d0
mov eax, dword [edi]
mov ebx, edi
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
movzx eax, si
mov dword [ebp - 0x30], ebx
mov ecx, ebx
push eax
call edi
mov esi, eax
lea ebx, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
jmp 0x4c72bd
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov esi, dword [ebp + 8]
mov dword [esi], edi
push eax
call fcn.00494aa1
add esp, 4
jmp 0x4c7321
Function at 0x4c73d0
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
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x80]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x4498e0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov eax, dword [ebp + 8]
mov edx, 0x4fff83
push dword [eax + 4]
push 1
call fcn.004d1960
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov byte [edi + 0xc], 0xff
sub esp, 0x1c
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.00431e30
mov dword [ebx], edi
mov dword [ebx + 4], 0xd
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.00411930
add esp, 0x1c
mov esp, dword [esi + 0xc]
lea edx, [esi + eax]
add edx, 0x30
mov dword [esi + 0x20], edx
mov ecx, edi
push dword [ebp + 8]
call fcn.004c7130
add esp, 4
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x40]
movdqu xmmword [ebx + 0x1e], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0x80]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push ebx
push dword [esi + 0x20]
call fcn.004c8760
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x4c7518
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x88], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x88], 0xffffffff
movzx ebx, dx
mov edi, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x18]
push ebx
push dword [ebp + 8]
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x40]
push eax
call fcn.004c85d0
add esp, 0x14
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
Function at 0x4c75d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0xc0]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x4498f0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov eax, dword [ebp + 8]
mov edx, 0x4fffa2
push dword [eax + 4]
push 1
call fcn.004d1960
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
sub esp, 0x20
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.00431e30
mov dword [ebx], edi
mov dword [ebx + 4], 0x18
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.00411930
add esp, 0x20
mov esp, dword [esi + 0xc]
lea ebx, [esi + eax]
add ebx, 0x30
mov ecx, edi
mov edx, ebx
push dword [ebp + 8]
call fcn.004c7130
add esp, 4
mov dword [esi + 0x20], eax
lea eax, [esi + 0x50]
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0x4a], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0xc0]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x24]
push edi
lea edi, [esi + 0x10]
push edi
lea edi, [esi + 0x14]
push edi
push eax
push ebx
call fcn.004c8760
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x4c7733
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 0xc8], 0xffffffff
movzx ebx, dx
mov edi, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x18]
push ebx
push dword [ebp + 8]
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x50]
push eax
call fcn.004c85d0
add esp, 0x14
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4c77f0
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
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x80]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x449900
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov edi, dword [ebp + 8]
mov edx, 0x4fff83
push dword [edi + 4]
push eax
call fcn.004d1960
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov byte [edi + 0xc], 0xff
sub esp, 0x1c
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.00431e30
mov dword [ebx], edi
mov dword [ebx + 4], 0xd
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.00411930
add esp, 0x1c
mov esp, dword [esi + 0xc]
lea edx, [esi + eax]
add edx, 0x30
mov dword [esi + 0x20], edx
mov ecx, edi
push dword [ebp + 8]
call fcn.004c7130
add esp, 4
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x40]
movdqu xmmword [ebx + 0x1e], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0x80]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push ebx
push dword [esi + 0x20]
call fcn.004c8760
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x4c7937
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x88], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x88], 0xffffffff
movzx ebx, dx
mov edi, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x18]
push ebx
push dword [ebp + 8]
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x40]
push eax
call fcn.004c85d0
add esp, 0x14
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
Function at 0x4c79f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0xc0]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x449910
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor eax, eax
lea ecx, [esi + 0x29]
mov dword [ecx + 3], eax
mov dword [ecx - 1], 0x25
mov edi, dword [ebp + 8]
mov edx, 0x4fffa2
push dword [edi + 4]
push eax
call fcn.004d1960
add esp, 8
mov dword [esi + 0xc], esp
lea edi, [esi + 0x30]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
sub esp, 0x20
mov ebx, esp
lea ecx, [ebx + 8]
call fcn.00431e30
mov dword [ebx], edi
mov dword [ebx + 4], 0x18
lea eax, [esi + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
call fcn.00411930
add esp, 0x20
mov esp, dword [esi + 0xc]
lea ebx, [esi + eax]
add ebx, 0x30
mov ecx, edi
mov edx, ebx
push dword [ebp + 8]
call fcn.004c7130
add esp, 4
mov dword [esi + 0x20], eax
lea eax, [esi + 0x50]
pcmpeqd xmm0, xmm0
movdqu xmmword [eax + 0x4a], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea edx, [esi + 0x10]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x24]
mov dword [edx], ecx
mov dword [esi + 0xc], ecx
lock inc dword [ecx + 4]
lea ecx, [esi + 0xc0]
xor edx, edx
mov dword [ecx + 8], edx
mov ecx, edi
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x24]
push edi
lea edi, [esi + 0x10]
push edi
lea edi, [esi + 0x14]
push edi
push eax
push ebx
call fcn.004c8760
add esp, 0x14
movzx edx, word [ebp + 0xc]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x4c7b52
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xc8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 0xc8], 0xffffffff
movzx ebx, dx
mov edi, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x18]
push ebx
push dword [ebp + 8]
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x50]
push eax
call fcn.004c85d0
add esp, 0x14
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d49f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 8
call fcn.00494aa6
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4d4a40
push ecx
push ecx
call fcn.004a43ba
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4d4a2f
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x4de930
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
pop ebp
ret 4

Function at 0x4e54b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
je 0x4e54c6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebp
ret
test eax, eax
jne 0x4e54bb
xor eax, eax
cmp dword [ecx + 0xc], 0
jne 0x4e54bb
cmp dword [ecx + 4], 0
jne 0x4e54bb
jmp 0x4e54c4

Function at 0x4ec620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 4]
sub edx, eax
je 0x4ec656
mov ecx, eax
mov ebx, edx
sar ebx, 2
xor esi, esi
movzx edi, bl
movzx eax, byte [ecx + esi]
xor eax, edi
shr ebx, 8
xor ebx, dword [eax*4 + 0x50a038]
inc esi
cmp edx, esi
jne 0x4ec63c
jmp 0x4ec658
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp ebx, dword [eax + 0xc]
sete al
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4ee1c0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [0x511014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov dword [edx], 0xffffffff
mov esi, 5
cmp eax, 3
jne 0x4ee25c
mov edx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0xb], 0
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
jns 0x4ee204
mov esi, dword [esi]
mov ebx, dword [ebx]
push 0
push edx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x4ee270
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
push 3
push edi
push edi
lea ecx, [ebp - 0x14]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb edi, edi
lea eax, [ebp - 0x14]
or edi, dword [eax]
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
xor eax, eax
cmp edi, 0xffffffff
sete al
lea esi, [eax + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
dec edi
jmp 0x4ee24c
Function at 0x4ef830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ecx + 0x30]
test ecx, ecx
jne 0x4ef854
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x4ef85e
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4ef868
mov ecx, dword [esi]
test ecx, ecx
jne 0x4ef872
pop esi
pop ebp
ret
mov dword [esi + 0x34], ecx
call fcn.004e7870
jmp 0x4ef83d
mov dword [esi + 0x24], ecx
call fcn.004e7870
jmp 0x4ef844
mov dword [esi + 0x14], ecx
call fcn.004e7870
jmp 0x4ef84b
mov dword [esi + 4], ecx
pop esi
pop ebp
jmp fcn.004e7870

Function at 0x4f1d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, edx
mov edi, ecx
mov eax, dword [0x511014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x18], eax
add esi, edi
cmp edi, esi
jae 0x4f1d5a
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, esi
sub eax, edi
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete dl
mov ecx, dword [ebp - 0x14]
test ecx, ecx
sete al
or al, dl
jne 0x4f1d54
mov ebx, ecx
add edi, ebx
cmp al, 1
jne 0x4f1d24
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4f54d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
xor edx, edx
mov dword [edi], edx
mov ecx, dword [ebx]
sub esp, 0x1c
mov dword [esp + 0x18], eax
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4f552f
mov esi, eax
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
xor ecx, ecx
push ecx
push ecx
push edi
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x10001052
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push VariantCopy
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.1000ab30
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call fcn.100010d1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100010c6
push 0x60
push 0x401338c
push 6
call fcn.1000a5de
add esp, 0xc
jmp 0x100010cb
mov esp, ebp
pop ebp
ret 0x14