Function at 0x10006040
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 0x10042cbb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x1004f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 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 + 0x40], 0
mov dword [edi + 0x3c], 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 + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xcc], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x134], 0
movups xmmword [edi + 0x13c], xmm0
movq qword [edi + 0x14c], xmm0
mov dword [edi + 0x154], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0
xor eax, eax
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], eax
mov dword [edi + 0x214], eax
mov dword [edi + 0x228], eax
mov dword [edi + 0x224], eax
mov dword [edi + 0x22c], eax
mov dword [edi + 0x234], eax
mov dword [edi + 0x230], eax
mov dword [edi + 0x238], eax
lea ecx, [edi + 0x248]
push eax
call fcn.100029e0
mov byte [ebp - 4], 4
lea eax, [edi + 0x2fc]
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 0x10006440
push 0x328
push ecx
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebx + 0xc]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10006478
mov eax, dword [0x1004fa30]
sub esi, ecx
test eax, eax
je 0x10006490
inc dword [eax + 0x36c]
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 ecx, esi
mov dword [edi], eax
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100064b0
sub ecx, edx
or edx, 0xffffffff
lea eax, [ecx + 1]
mov dword [edi + 0x4c], eax
mov al, byte [esi]
inc esi
test al, al
je 0x100064fa
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x100064de
cmp byte [esi], al
jne 0x100064de
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10045818]
test al, al
jne 0x100064d0
mov edi, dword [ebp - 0x14]
not edx
lea esi, [edi + 0xc4]
mov dword [edi + 4], edx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x1000652f
inc ecx
test eax, eax
je 0x1000651d
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x10006522
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10017620
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
xor edx, edx
inc dword [esi]
mov ecx, dword [esi]
mov eax, dword [edi + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.MOVE
call fcn.100045b0
mov esi, eax
add esp, 4
mov eax, dword [0x1004fa30]
cmp dword [eax + 0x1be0], esi
jne 0x1000656c
mov dword [eax + 0x1be4], esi
cmp dword [eax + 0x1c1c], esi
jne 0x1000657b
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], esi
jne 0x10006598
push ecx
push str.MOVE
mov edx, 0xb
mov ecx, esi
call fcn.10016cc0
add esp, 8
mov eax, dword [ebx + 8]
lea ecx, [edi + 0x248]
add eax, 0x194c
mov dword [edi + 0x244], ecx
mov dword [edi + 0x50], esi
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
mov dword [edi + 0x70], 0x3f000000
mov dword [edi + 0x74], 0x3f000000
mov word [edi + 0xa4], 0xffff
mov dword [edi + 0xa8], 0xffffffff
mov word [edi + 0xb1], 0xf0f
mov byte [edi + 0xb0], 0xf
mov dword [edi + 0xbc], 0x7f7fffff
mov dword [edi + 0xc0], 0x7f7fffff
mov dword [edi + 0xb4], 0x7f7fffff
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0x218], 0xffffffff
mov dword [edi + 0x21c], 0xbf800000
mov dword [edi + 0x23c], 0x3f800000
mov dword [edi + 0x240], 0xffffffff
mov dword [ecx + 0x2c], eax
mov ecx, dword [edi + 0x244]
mov eax, dword [edi]
mov dword [ecx + 0x30], 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
mov esp, ebx
pop ebx
ret 8