Function at 0x10004780
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004213a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1004e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x30]
mov dword [edi], 0
mov dword [edi + 4], 0x101
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x100
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x64
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 1
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], 6
mov dword [edi + 0x2c], 2
mov dword [edi + 0x30], 1
mov dword [edi + 0x34], 0x29a
mov dword [edi + 0x38], 0x29a
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
call fcn.1003be80
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea esi, [edi + 0x94]
mov dword [ebp - 0x14], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x13
jb 0x100048ae
cmp dword [ecx + 0x14], 0x10
lea eax, [edx + 0x13]
mov dword [ecx + 0x10], eax
mov eax, ecx
jb 0x1000488c
mov eax, dword [ecx]
push 0x13
lea esi, [eax + edx]
push str._soullesscheat.ini
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov byte [esi + 0x13], 0
lea esi, [edi + 0x94]
jmp 0x100048bf
push 0x13
push ecx
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push 0x13
call fcn.10006640
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1000492e
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004924
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004924
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100407ec
add esp, 8
push 0x64
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.100407bc
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov dword [esi], 0x40000000
mov dword [esi + 4], 0x40a80000
mov dword [esi + 8], 0x40900000
mov dword [esi + 0xc], 0x40280000
mov eax, dword [0x510c94]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x190
call fcn.10040670
mov eax, dword [eax + 0xc]
mov dword [esi + 0x18], eax
call fcn.10040670
push 0x1c
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xff000000
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0xff0000ff
mov dword [esi + 0x2c], 0xff00ff00
mov dword [esi + 0x30], 0xff00ffff
mov dword [esi + 0x34], 0xffff0000
mov dword [esi + 0x38], 0xffff0084
mov dword [esi + 0x3c], 0xffff0084
mov dword [esi + 0x40], 0xc85d5d5d
mov dword [esi + 0x44], 0xff00ff00
mov dword [esi + 0x48], 0x3f000000
mov dword [esi + 0x4c], 0x3fc00000
mov dword [esi + 0x50], 0x3fc00000
mov eax, dword [0x510c94]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x54], xmm0
mov eax, dword [0x510c98]
cdq
sub eax, edx
mov dword [esi + 0x5c], 0x1010101
sar eax, 1
mov dword [esi + 0x60], 0x1000000
mov byte [ebp - 4], 2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x58], xmm0
mov dword [edi + 0x88], esi
call fcn.100407bc
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
push 0x10
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
mov dword [edi + 0x84], eax
call fcn.100407bc
mov dword [ebp - 0x14], eax
push 1
mov dword [eax], 2
mov dword [eax + 4], 0x10100
mov word [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [edi + 0x8c], eax
call fcn.100407bc
mov dword [ebp - 0x14], eax
add esp, 0x10
mov dword [edi + 0x90], eax
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