joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008fc10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x1008fd7f
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1002eec0
push 0x5c
push edi
call fcn.100c418a
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x1008fcdd
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1008fc90
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1008fd75
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1008fcf1
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x1008fcf4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x1008fd75
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1002eec0
push 0x5c
push edi
call fcn.100c418a
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x1008fd86
cmp esi, eax
jne 0x1008fd45
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x1008fd00
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100bec20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1014f200], 0
push ebx
push esi
push edi
je 0x100bedab
mov eax, dword [0x101a5cc0]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100bedab
xor ebx, ebx
test ecx, ecx
jle 0x100bedab
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, dword [eax]
add esi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x100bed98
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100bed93
mov edi, dword [esi]
mov eax, dword [0x101a5e04]
cmp byte [eax + edi], 0
jne 0x100bed93
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x101a5e74]
add edx, 0xffffffd6
xor edx, 0x23f81ea1
lea eax, [eax*4 + 0x101a8d8c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1014f200]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x100becf5
mov ecx, dword [0x101a5d34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100becf5
push 1
push dword [0x10154a74]
push dword [0x10154a70]
call fcn.100c3a50
cmp eax, dword [0x10154a74]
je 0x100bed93
mov edx, dword [0x10154cb8]
mov ax, word [0x10154cba]
jmp 0x100bed20
push 0
push dword [0x10154a74]
push dword [0x10154a70]
call fcn.100c3a50
cmp eax, dword [0x10154a74]
je 0x100bed93
mov edx, dword [0x10154b18]
mov ax, word [0x10154b1a]
movzx edi, ax
mov ecx, edx
movss xmm3, dword [0x100dad38]
mov dword [ebp - 4], edi
movzx edi, ah
movzx eax, dl
shr ecx, 8
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, eax
movzx eax, cl
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mov eax, dword [ebp - 4]
movzx eax, al
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
mulss xmm0, xmm3
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
movss dword [esi + 0x10], xmm0
mov eax, dword [0x101a5cc0]
mov ecx, dword [ebp - 8]
inc ebx
add ecx, 0x38
mov dword [ebp - 8], ecx
cmp ebx, dword [eax + 0xc]
jl 0x100bec55
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c1900
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100e7380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100c1a7c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100c1a69
cmp dword [ebp - 0x28], 0x10
jb 0x100c1a4d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100c4803
cmp dword [ebp - 0x1c], eax
jne 0x100c1a4d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100c4803
cmp dword [ebp - 0x20], eax
je 0x100c1a4d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100c19d4
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x101642f4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100c4803
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100c19d2
jmp 0x100c1a69
jmp 0x100c1a2d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100c1a2d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101642f4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100c4803
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100c1a17
jmp 0x100c1a69
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100c1953
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c4803
push edx
mov ecx, ebp
push eax
lea edx, [0x100c1aa8]
call fcn.100c47af
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c3c5c
add esp, 0x30
cmp ebp, esp
call fcn.100c4803
mov esp, ebp
pop ebp
ret
Function at 0x100c1ac0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100c1900
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100c1b8b
mov dword [ebp - 4], 0
jmp 0x100c1b1c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100c1b8b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100c4803
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100c1b89
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100c4803
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100c1720
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c4803
jmp 0x100c1b13
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c4803
mov esp, ebp
pop ebp
ret

Function at 0x100c1ba0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100c1c4b
mov dword [ebp - 4], 0
jmp 0x100c1bd3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100c1c2e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100c4803
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100c1c2c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100c4803
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c4803
jmp 0x100c1bca
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101642f4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100c4803
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c4803
mov esp, ebp
pop ebp
ret
Function at 0x100c1c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x101ab920]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100c1cc3
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100c4803
test eax, eax
jne 0x100c1cee
mov eax, 0xa
jmp 0x100c1df0
cmp dword [ebp + 0xc], 0
je 0x100c1d3a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100c1d38
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100c1d76
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100c1d61
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100c1d76
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100c4803
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100c4803
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100c4803
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100c1e14]
call fcn.100c47af
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100c4803
mov esp, ebp
pop ebp
ret
Function at 0x100c24e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x101ab918]
mov dword [ebp - 4], eax
jmp 0x100c2507
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100c2520
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100c251e
mov eax, dword [ebp - 4]
jmp 0x100c25a4
jmp 0x100c24ff
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100c4803
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100c25a1
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100c2563
mov edx, dword [ebp - 4]
mov eax, dword [0x101ab918]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x101ab918], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c4803
mov esp, ebp
pop ebp
ret

Function at 0x100c2a90
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100c2ae0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100c2ae0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100c2ae0
xor eax, eax
jmp 0x100c2b21
mov dword [ebp - 4], 1
jmp 0x100c2af2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100c2b1c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100c2b1a
xor eax, eax
jmp 0x100c2b21
jmp 0x100c2ae9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100019a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push esi
push edi
push 0x124
lea eax, [ebp - 0x150]
mov edi, ecx
push 0
push eax
mov dword [ebp - 8], edi
call fcn.10020640
lea esi, [ebp - 0x150]
add esp, 0xc
mov edx, edi
sub esi, edi
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x100019d0
lea ecx, [ebp - 0x150]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100019e6
sub ecx, edx
cmp byte [ebp + ecx - 0x151], 0x5c
je 0x10001a13
lea edi, [ebp - 0x150]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10001a00
mov ax, word [0x10086ab4]
mov word [edi], ax
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.10043da7
add esp, 8
cmp eax, 0xffffffff
jne 0x10001b3b
push pe_nt_image_headers32
xorps xmm0, xmm0
mov word [ebp - 0xc], 0
lea eax, [ebp - 0x270]
mov byte [ebp - 0xa], 0
push 0
push eax
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call fcn.10020640
push 0
push 0
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.100449a1
add esp, 0x20
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x2c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x151], al
test al, al
jne 0x10001a80
push ebx
lea ebx, [ebp - 0x26f]
mov eax, ebx
push 0x5c
push eax
call fcn.1001f2d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x10001b3a
lea edi, [ebp - 0x150]
mov byte [eax], 0
dec edi
nop dword [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10001ac0
mov ax, word [0x10086ab4]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10001ad5
lea edi, [ebp - 0x150]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001ae5
mov ecx, ebx
lea eax, [ebp - 0x150]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.10043da7
add esp, 8
cmp eax, 0xffffffff
jne 0x10001b20
push 0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp - 4]
inc ebx
push 0x5c
push ebx
call fcn.1001f2d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x10001ab1
pop ebx
push 0
push dword [ebp - 8]
call fcn.10043da7
add esp, 8
cmp eax, 0xffffffff
setne al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1008c9b0]
sub esp, 0x130
cmp eax, 0xffffffff
jne 0x10003b9c
push esi
lea esi, [eax + 2]
mov dword [0x1008c9b0], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push 6
push 0x436137
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003b3f
cmp byte [0x436137], 0xe8
mov dword [ebp - 8], 0xb0fe81
mov word [ebp - 4], 0
jne 0x10003aff
cmp byte [0x43613c], 0x90
jne 0x10003aff
xor esi, esi
jmp 0x10003b2b
mov esi, 0x436137
lea eax, [ebp - 8]
xor edx, edx
sub esi, eax
nop dword [eax + eax]
lea ecx, [ebp - 8]
add ecx, edx
mov al, byte [esi + ecx]
cmp al, byte [ecx]
jne 0x10003b26
inc edx
cmp edx, 6
jl 0x10003b10
xor esi, esi
jmp 0x10003b2b
mov esi, 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 6
push 0x436137
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esi + 1]
push 0
mov dword [0x1008c9b0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [ebp - 0x130]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push eax
call fcn.100449a1
lea eax, [ebp - 0x130]
push str.buze
push eax
call fcn.100439a6
add esp, 0x1c
pop esi
test eax, eax
jne 0x10003b97
mov dword [0x1008c9b0], eax
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1008c9b0]
mov esp, ebp
pop ebp
ret
Function at 0x100076d0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x100076f3
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [eax + 4], 0
xor edx, edx
mov eax, dword [esi + 0xc]
mov ecx, str.DXi_Show
xor edi, edi
mov dword [eax], 0
call fcn.100069a0
xor edx, edx
mov dword [esp + 0xc], eax
mov ecx, str.DX_Show_Unknown
call fcn.100069a0
xorps xmm0, xmm0
mov dword [esp + 8], eax
push 0x124
lea eax, [esp + 0x7c]
movlpd qword [esp + 0x38], xmm0
push edi
push eax
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x3c], 0x44
call fcn.10020640
mov dl, byte [ebp + 8]
xor eax, eax
add esp, 0xc
cmp dword [esp + 8], eax
setne al
xor ecx, ecx
add eax, 0x30
cmp dword [esp + 0xc], ecx
push eax
setne cl
lea eax, [esi + 0x48]
add ecx, 0x30
test dl, dl
push ecx
push eax
mov ecx, str.__sscan.exe___dxe__c_c
mov eax, str.__sscan.exe___dxi__c_c
cmove eax, ecx
push eax
lea eax, [esp + 0x88]
push eax
call fcn.100173c0
add esp, 0x14
lea eax, [esp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esi + 0x48]
push eax
push edi
push 0x40
push edi
push edi
push edi
lea eax, [esp + 0x98]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10007860
push 0xffffffffffffffff
push dword [esp + 0x14]
add esi, 0x10
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
cmp eax, 0x102
je 0x1000781c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 4]
cmp ecx, 0x80
je 0x10007817
cmp ecx, 0x40
jne 0x1000782f
mov edi, dword [eax + 8]
jmp 0x1000782f
xor edi, edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10007846
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10007851
push eax
call ecx
xorps xmm0, xmm0
push esi
movaps xmmword [esp + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4