Function at 0x10005950
Capabilities:
Access peb ldr_data
Get ntdll base address
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c58b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10071040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc4], 0
lea ecx, [edi + 0xc8]
mov dword [ebp - 4], 0
call fcn.10002d40
mov dword [edi + 0x1c4], 0
xorps xmm0, xmm0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x230], 0
movq qword [edi + 0x23c], xmm0
mov dword [edi + 0x244], 0
movq qword [edi + 0x248], xmm0
mov dword [edi + 0x250], 0
mov dword [edi + 0x258], 0
mov dword [edi + 0x254], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x264], 0
mov dword [edi + 0x260], 0
mov dword [edi + 0x268], 0
mov eax, dword [ebx + 8]
lea ecx, [edi + 0x278]
add eax, 0x18ec
mov byte [ebp - 4], 3
push eax
call fcn.10001a20
mov byte [ebp - 4], 4
lea eax, [edi + 0x30c]
mov ecx, 2
nop word [eax + eax]
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10005c20
mov esi, dword [ebx + 0xc]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10005c50
mov eax, dword [0x10076e80]
sub esi, ecx
test eax, eax
je 0x10005c68
inc dword [eax + 0x374]
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
push esi
mov esi, dword [ebx + 0xc]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov cl, byte [esi]
lea eax, [esi + 1]
or edx, 0xffffffff
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xffffffff
test cl, cl
je 0x10005cd5
mov esi, dword [ebp - 0x1c]
nop
cmp cl, 0x23
jne 0x10005caf
cmp byte [eax], cl
jne 0x10005caf
cmp byte [eax + 1], cl
cmove edx, esi
movzx eax, byte [ebp - 0x11]
movzx ecx, dl
xor ecx, eax
shr edx, 8
mov eax, dword [ebp - 0x18]
xor edx, dword [ecx*4 + 0x10062598]
mov cl, byte [eax]
inc eax
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x18], eax
test cl, cl
jne 0x10005ca0
mov esi, dword [ebx + 0xc]
not edx
lea ecx, [edi + 0xbc]
mov dword [edi + 4], edx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10005d14
inc edx
mov dword [ebp - 0x18], edx
test eax, eax
je 0x10005cfe
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10005d03
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10016980
lea ecx, [edi + 0xbc]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea ecx, [esi + 1]
inc dword [edi + 0xbc]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x10005d91
sub esi, ecx
lea eax, [esi + 1]
mov dword [edi + 0x44], eax
cmp dword [edi + 0xbc], 0
jg 0x10005dc1
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [edi + 0xbc]
xor edx, edx
mov eax, dword [edi + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.MOVE
call fcn.100037f0
mov ecx, dword [0x10076e80]
add esp, 4
cmp dword [ecx + 0x1a04], eax
jne 0x10005df4
mov dword [ecx + 0x1a08], eax
cmp dword [ecx + 0x1a38], eax
jne 0x10005e03
mov byte [ecx + 0x1a3c], 1
mov dword [edi + 0x48], eax
lea ecx, [edi + 0x278]
mov eax, dword [ebp - 0x1c]
mov word [edi + 0x86], ax
mov word [edi + 0x88], ax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov dword [edi + 0x68], 0x3f000000
mov dword [edi + 0x6c], 0x3f000000
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov word [edi + 0x80], 0
mov dword [edi + 0x82], 0xff00
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xffff
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x9c], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0xa8], 0xf
mov dword [edi + 0xa4], 0xf
mov dword [edi + 0xa0], 0xf
mov dword [edi + 0xb4], 0x7f7fffff
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0xac], 0x7f7fffff
mov dword [edi + 0xb0], 0x7f7fffff
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov eax, dword [edi]
mov dword [edi + 0x224], 0xffffffff
mov dword [edi + 0x228], 0xbf800000
mov dword [edi + 0x22c], 0
mov dword [edi + 0x26c], 0x3f800000
mov dword [edi + 0x270], 0xffffffff
mov dword [edi + 0x274], ecx
mov dword [ecx + 0x2c], eax
mov eax, edi
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov dword [edi + 0x2f8], 0
mov dword [edi + 0x2fc], 0
mov dword [edi + 0x308], 0
mov dword [edi + 0x304], 0
mov dword [edi + 0x31c], 0
mov dword [edi + 0x320], 0
mov dword [edi + 0x324], 0
mov dword [edi + 0x328], 0
movups xmm0, xmmword [edi + 0x31c]
movups xmmword [edi + 0x30c], xmm0
mov dword [edi + 0x300], 0
mov byte [edi + 0x32c], 0
mov dword [edi + 0x334], 0
mov dword [edi + 0x330], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8