joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000518d
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1004e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x1000517a
cmp al, 0x24
je 0x1000517a
cmp al, 0x34
je 0x1000517a
cmp al, 0x44
jne 0x1000517c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x10005186.2
jmp dword [edi*4 + 0x100052a4]
movups xmm0, xmmword [0x1004eb7c]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb8c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb2c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb3c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb44]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb54]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x1004eb41], al
cmp edi, 8
ja case.0x10005227.0
jmp dword [edi*4 + 0x100052c8]
movups xmm0, xmmword [0x1004eb68]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb78]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
push 0x1004eb24
jmp 0x1000528d
push 0x1004eb08
jmp 0x1000528d
push 0x1004eb5c
jmp 0x1000528d
push 0x1004eb60
jmp 0x1000528d
push 0x1004eb64
jmp 0x1000528d
push 0x1004eb28
jmp 0x1000528d
push 0x1004eb58
jmp 0x1000528d
push 0x1004eb00
jmp 0x1000528d
push 0x1004eb20
call dword [0x10051e50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
Function at 0x100051ac
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1004e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x1000517a
cmp al, 0x24
je 0x1000517a
cmp al, 0x34
je 0x1000517a
cmp al, 0x44
jne 0x1000517c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x10005186.2
jmp dword [edi*4 + 0x100052a4]
movups xmm0, xmmword [0x1004eb7c]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb8c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb2c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb3c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb44]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb54]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x1004eb41], al
cmp edi, 8
ja case.0x10005227.0
jmp dword [edi*4 + 0x100052c8]
movups xmm0, xmmword [0x1004eb68]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb78]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
push 0x1004eb24
jmp 0x1000528d
push 0x1004eb08
jmp 0x1000528d
push 0x1004eb5c
jmp 0x1000528d
push 0x1004eb60
jmp 0x1000528d
push 0x1004eb64
jmp 0x1000528d
push 0x1004eb28
jmp 0x1000528d
push 0x1004eb58
jmp 0x1000528d
push 0x1004eb00
jmp 0x1000528d
push 0x1004eb20
call dword [0x10051e50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
Function at 0x100051ce
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1004e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x1000517a
cmp al, 0x24
je 0x1000517a
cmp al, 0x34
je 0x1000517a
cmp al, 0x44
jne 0x1000517c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x10005186.2
jmp dword [edi*4 + 0x100052a4]
movups xmm0, xmmword [0x1004eb7c]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb8c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb2c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb3c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb44]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb54]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x1004eb41], al
cmp edi, 8
ja case.0x10005227.0
jmp dword [edi*4 + 0x100052c8]
movups xmm0, xmmword [0x1004eb68]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb78]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
push 0x1004eb24
jmp 0x1000528d
push 0x1004eb08
jmp 0x1000528d
push 0x1004eb5c
jmp 0x1000528d
push 0x1004eb60
jmp 0x1000528d
push 0x1004eb64
jmp 0x1000528d
push 0x1004eb28
jmp 0x1000528d
push 0x1004eb58
jmp 0x1000528d
push 0x1004eb00
jmp 0x1000528d
push 0x1004eb20
call dword [0x10051e50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
Function at 0x100051ed
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1004e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x1000517a
cmp al, 0x24
je 0x1000517a
cmp al, 0x34
je 0x1000517a
cmp al, 0x44
jne 0x1000517c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x10005186.2
jmp dword [edi*4 + 0x100052a4]
movups xmm0, xmmword [0x1004eb7c]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb8c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb2c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb3c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb44]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb54]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x1004eb41], al
cmp edi, 8
ja case.0x10005227.0
jmp dword [edi*4 + 0x100052c8]
movups xmm0, xmmword [0x1004eb68]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb78]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
push 0x1004eb24
jmp 0x1000528d
push 0x1004eb08
jmp 0x1000528d
push 0x1004eb5c
jmp 0x1000528d
push 0x1004eb60
jmp 0x1000528d
push 0x1004eb64
jmp 0x1000528d
push 0x1004eb28
jmp 0x1000528d
push 0x1004eb58
jmp 0x1000528d
push 0x1004eb00
jmp 0x1000528d
push 0x1004eb20
call dword [0x10051e50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
Function at 0x100051f0
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1004e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x1000517a
cmp al, 0x24
je 0x1000517a
cmp al, 0x34
je 0x1000517a
cmp al, 0x44
jne 0x1000517c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x10005186.2
jmp dword [edi*4 + 0x100052a4]
movups xmm0, xmmword [0x1004eb7c]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb8c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb2c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb3c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb44]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb54]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x1004eb41], al
cmp edi, 8
ja case.0x10005227.0
jmp dword [edi*4 + 0x100052c8]
movups xmm0, xmmword [0x1004eb68]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb78]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
push 0x1004eb24
jmp 0x1000528d
push 0x1004eb08
jmp 0x1000528d
push 0x1004eb5c
jmp 0x1000528d
push 0x1004eb60
jmp 0x1000528d
push 0x1004eb64
jmp 0x1000528d
push 0x1004eb28
jmp 0x1000528d
push 0x1004eb58
jmp 0x1000528d
push 0x1004eb00
jmp 0x1000528d
push 0x1004eb20
call dword [0x10051e50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
Function at 0x1000522e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1004e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x1000517a
cmp al, 0x24
je 0x1000517a
cmp al, 0x34
je 0x1000517a
cmp al, 0x44
jne 0x1000517c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x10005186.2
jmp dword [edi*4 + 0x100052a4]
movups xmm0, xmmword [0x1004eb7c]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb8c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb2c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb3c]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
movups xmm0, xmmword [0x1004eb44]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb54]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x1004eb41], al
cmp edi, 8
ja case.0x10005227.0
jmp dword [edi*4 + 0x100052c8]
movups xmm0, xmmword [0x1004eb68]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1004eb78]
mov dword [ecx + 0x10], eax
jmp 0x100051f6
push 0x1004eb24
jmp 0x1000528d
push 0x1004eb08
jmp 0x1000528d
push 0x1004eb5c
jmp 0x1000528d
push 0x1004eb60
jmp 0x1000528d
push 0x1004eb64
jmp 0x1000528d
push 0x1004eb28
jmp 0x1000528d
push 0x1004eb58
jmp 0x1000528d
push 0x1004eb00
jmp 0x1000528d
push 0x1004eb20
call dword [0x10051e50]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001ca4c
mov esp, ebp
pop ebp
ret
Function at 0x10006db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10006dce
push 0
push 0
push 0
push 0x10006b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10007440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10007472
jl 0x10007465
test ecx, ecx
jne 0x10007472
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10007532
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.1000b070
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x100074de
jg 0x1000749d
test esi, esi
je 0x100074de
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x100074b5
mov eax, dword [esp + 0x10]
jl 0x100074af
cmp eax, esi
jae 0x100074b5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.1001e1d0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x100074ff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1000751b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x10007484
jl 0x1000751b
test ecx, ecx
jne 0x10007484
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x10007576
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x10007576
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.1001e1d0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x100075e7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000759c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x100075d2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1002885c
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100075e7
cmp edi, eax
ja 0x100075b0
test edi, edi
je 0x100075e7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1002885c
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003cb40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x14], ecx
lea ebx, [ecx + 0x24]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea edi, [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 8
mov dword [eax], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.1001cd11
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1001c079
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x34], esi
call fcn.1000c540
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
lea esi, [eax + 4]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [eax + 0xc], esi
mov esi, eax
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [0x10051ed0]
mov edx, dword [0x10051ed4]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003cc7c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1004e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1000b4b4
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.1000ad30
mov byte [ebp - 4], 6
xor ebx, ebx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x1000b4ff
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x1000b4ff
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1000b509
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.1000e440
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1000b537
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x1000c5a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ce70
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1004e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1001cd11
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1001c079
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000c540
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018910
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10018ac0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100189dd
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1001895a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1004e004]
ja 0x1001895a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1001892a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1001e750
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10018980
jmp 0x100189dd
cmp dword [ebp - 0x14], 0x10000
jne 0x100189c3
cmp dword [ebp - 0x18], 0x10000
jb 0x100189c3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100189b6
mov eax, dword [ebp - 8]
jmp 0x100189df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100189d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10018ac0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1001892a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100189f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10018af0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10018ab5
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10018a35
mov eax, dword [ebp - 4]
cmp eax, dword [0x1004e004]
ja 0x10018a35
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10018a05
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1001e750
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10018a5b
jmp 0x10018ab5
cmp dword [ebp - 0x14], 0x10000
jne 0x10018a9e
cmp dword [ebp - 0x18], 0x10000
jb 0x10018a9e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10018a91
mov eax, dword [ebp - 8]
jmp 0x10018ab7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10018ab0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10018af0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10018a05
xor eax, eax
mov esp, ebp
pop ebp
ret