Function at 0x413750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b41ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.004148a0
mov eax, dword [esp + 0x320]
mov ecx, dword [esp + 0x31c]
mov edx, dword [esp + 0x318]
push eax
mov eax, dword [esp + 0x318]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x318], 0
call fcn.004148f0
sub esp, 0x10
mov eax, 0x414a60
mov ebx, esp
mov ecx, 0x414ac0
mov edx, 0x414b20
push 0
mov dword [ebx], eax
push 0
mov edi, 0x414b40
mov dword [ebx + 4], ecx
lea ecx, [esp + 0x48]
push ecx
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x30]
push edx
mov dword [ebx + 0xc], edi
call fcn.00498410
add esp, 0x20
test eax, eax
je 0x413810
lea ecx, [esp + 0x10]
call fcn.004149d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x308], 0xffffffff
call fcn.004148e0
xor eax, eax
jmp 0x4139df
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push eax
call fcn.0049a0b0
lea ecx, [esp + 0x38]
push 0xffffffffffffffff
push ecx
mov ebx, eax
call fcn.004990c0
mov ebp, dword [ebx + 8]
add esp, 0x10
fstp qword [esp + 0x28]
mov dword [esp + 0x24], ebp
fild dword [esp + 0x24]
fimul dword [ebx + 4]
fmul qword [esp + 0x28]
fadd st(0), st(0)
call fcn.004a74cc
mov dx, word [ebx + 4]
push 0
push 0x10
push edx
mov edi, eax
mov eax, dword [esp + 0x31c]
push ebp
push 1
push edi
push 0
push eax
mov ecx, esi
call fcn.00412f50
test eax, eax
jne 0x41389f
lea ecx, [esp + 0x30]
push ecx
call fcn.00498310
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004149d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x308], 0xffffffff
call fcn.004148e0
xor eax, eax
jmp 0x4139df
fld qword [esp + 0x28]
fmul qword [0x4b6538]
mov dword [esi + 0x46], edi
call fcn.004a74cc
mov dword [esi + 0x4a], eax
lea eax, [esi + 0x42]
lea ebp, [esi + 0x3e]
lea ecx, [esi + 0x3a]
push eax
lea edx, [esi + 0x36]
push ebp
push ecx
push edx
push edi
mov ecx, esi
call fcn.00413140
test eax, eax
jne 0x413901
lea edx, [esp + 0x30]
push edx
call fcn.00498310
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004149d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x308], 0xffffffff
call fcn.004148e0
xor eax, eax
jmp 0x4139df
xor ebx, ebx
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
mov eax, dword [esi + 0x36]
push 1
push 2
push 0
add ecx, eax
push edi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0049a0f0
add esp, 0x1c
test eax, eax
jle 0x413930
sub edi, eax
add ebx, eax
test edi, edi
jg 0x413903
mov eax, dword [esi + 0x42]
test eax, eax
je 0x413962
mov ecx, dword [ebp]
lea eax, [esp + 0x20]
push eax
push 1
push 2
push 0
add ecx, ebx
push edi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0049a0f0
add esp, 0x1c
test eax, eax
jle 0x413962
sub edi, eax
add ebx, eax
test edi, edi
jg 0x413937
mov eax, dword [esi + 0x42]
mov ecx, dword [ebp]
mov edx, dword [esi + 0x3a]
push eax
mov eax, dword [esi + 0x36]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00413220
lea ecx, [esp + 0x30]
push ecx
call fcn.00498310
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004149d0
mov eax, dword [esi + 4]
lea edi, [esi + 0x14]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [esi + 4]
lea ebx, [esi + 0x18]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esi + 4]
lea ebp, [esi + 0x1c]
push ebp
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebx]
mov eax, dword [edi]
mov edx, dword [ebp]
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0x10], edx
mov dword [esp + 0x308], 0xffffffff
call fcn.004148e0
mov eax, 1
mov ecx, dword [esp + 0x300]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2fc
ret 0x14