Function at 0x10037500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009e430
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b8070]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x14]
add eax, 0xc
lea ecx, [eax + 0x80]
lea eax, [esp + 0x30]
push eax
call fcn.10035d60
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0xa0]
cmp ecx, ebx
je 0x100375ca
mov edx, dword [eax + 0xa4]
sub edx, ecx
sar edx, 4
je 0x100375ca
lea ebp, [eax + 0x9c]
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x18], eax
jbe 0x10037576
call fcn.10080d40
mov eax, dword [edi + 0x14]
add eax, 0xc
mov ebx, dword [eax + 0x94]
cmp ebx, dword [eax + 0x98]
lea esi, [eax + 0x90]
jbe 0x10037595
call fcn.10080d40
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
jbe 0x100375a8
call fcn.10080d40
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push ebp
push ebx
push esi
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x4c]
call fcn.10035e40
xor ebx, ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x100375dd
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 4
jne 0x10037632
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0x5975c]
fld dword [eax + 0x34]
sub esp, 0x10
fstp dword [esp + 0x34]
add edi, 0x28
fld dword [eax + 0x30]
add ecx, 0xc
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fld dword [eax + 0x38]
mov eax, esp
mov dword [eax], edx
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
push edi
mov dword [eax + 0xc], edx
call fcn.10013170
mov eax, dword [esp + 0x34]
cmp eax, ebx
jmp 0x100377b3
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x5975c]
fld dword [eax + 0x34]
xor ecx, ecx
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x24]
fld dword [eax + 0x30]
sub esp, 0x10
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fld dword [eax + 0x38]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [esp + 0x38], ecx
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
push ecx
lea esi, [esp + 0x48]
mov dword [esp + 0x30], ebx
call fcn.1004e680
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov edx, dword [esp + 0x38]
jne 0x100376c9
xor ecx, ecx
jmp 0x100376d0
mov ecx, edx
sub ecx, eax
sar ecx, 4
cmp eax, ebx
lea esi, [ecx - 1]
je 0x100376e0
sub edx, eax
sar edx, 4
cmp esi, edx
jb 0x100376e9
call fcn.10080d40
mov eax, dword [esp + 0x34]
shl esi, 4
add esi, eax
mov eax, esi
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [edi + 0x14]
add ecx, 0xc
call fcn.10013170
lea esi, [edi + 0x28]
lea ebx, [esp + 0x20]
call fcn.100137c0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov dword [esp + 0x1c], eax
jbe 0x10037744
call fcn.10080d40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov edi, ecx
jbe 0x10037757
call fcn.10080d40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
shl edx, 4
mov dword [esp + 0x24], edi
add edi, edx
cmp edi, eax
lea ebp, [esp + 0x30]
ja 0x10037770
cmp edi, ecx
jae 0x10037775
call fcn.10080d40
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x10037782
call fcn.10080d40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
push edi
push ebp
push ebx
push esi
push ecx
mov ecx, esi
call fcn.10035e40
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100377ad
push eax
call fcn.10080a47
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100377be
push eax
call fcn.10080a47
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret