Function at 0x49a3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ed300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005e2960
mov eax, dword [esi + 0xd4]
xor ecx, ecx
mov dword [esp + 0x30], 0
mov cl, byte [eax + 0x84]
mov eax, ecx
dec eax
je 0x49a43d
sub eax, 2
jne 0x49a441
mov ebp, 1
jmp 0x49a445
xor ebp, ebp
jmp 0x49a445
mov ebp, dword [esp + 0x10]
mov edx, dword [esi + 0xdc60]
mov edi, dword [0x600bfc]
push 0
push 0
push 0x147
push edx
call edi
cmp ebp, eax
je 0x49a66b
mov ebp, 1
mov dword [esi + 0xc068], ebp
mov eax, dword [0x640788]
test eax, eax
je 0x49a48b
mov ecx, esi
mov dword [0x64094c], ebp
call fcn.00498200
jmp 0x49a66b
mov eax, dword [esi + 0xd9e0]
push 0
push 0
push 0x147
push eax
call edi
test eax, eax
je 0x49a4d7
mov ecx, dword [esi + 0xdc60]
push 0
push 0
push 0x147
push ecx
call edi
test eax, eax
jne 0x49a4cb
mov edx, dword [esi + 0xda20]
push eax
push eax
push 0x14e
push edx
call edi
push 0
jmp 0x49a4cc
push ebp
lea ecx, [esi + 0xda00]
call fcn.005e29ea
mov eax, dword [0x641310]
test eax, eax
je 0x49a5a8
lea ebp, [esi + 0xdc00]
lea eax, [esp + 0xc]
push eax
mov ecx, ebp
call fcn.005e2a5c
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.005e2b04
call fcn.00543c70
mov eax, dword [0x6415c4]
mov ecx, dword [0x6415d4]
fstp qword [esp + 0x1c]
fld qword [ecx + eax*8 - 8]
mov edx, dword [esi + 0xdc60]
add esp, 4
fstp qword [esp + 0x20]
push 0
push 0
push 0x147
push edx
call edi
inc eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fdivr qword [esp + 0x20]
fld qword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49a558
fstp qword [esp + 0x18]
jmp 0x49a55a
fstp st(0)
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.005440d0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.005e2a44
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.005e2954
push 0x62e96c
lea ecx, [esp + 0x10]
call fcn.005e2b28
mov eax, dword [esp + 0xc]
mov ecx, ebp
push eax
call fcn.005e2a3e
push 1
mov ecx, esi
call fcn.00498240
mov ecx, esi
call fcn.004a8df0
mov ecx, esi
call fcn.004a83b0
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x49a5db
mov ecx, dword [esi + 0xc4]
call fcn.005e2b64
mov ecx, eax
call fcn.00579940
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x49a5f7
mov ecx, dword [esi + 0xc8]
call fcn.005e2b64
mov ecx, eax
call fcn.005b4320
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x49a613
mov ecx, dword [esi + 0xcc]
call fcn.005e2b64
mov ecx, eax
call fcn.0051c960
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x49a62f
mov ecx, dword [esi + 0xd0]
call fcn.005e2b64
mov ecx, eax
call fcn.00512ed0
mov eax, dword [0x64094c]
test eax, eax
jne 0x49a66b
mov eax, dword [0x640874]
test eax, eax
jne 0x49a66b
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005e2b70
test eax, eax
je 0x49a66b
mov ecx, dword [esi + 0xd4]
push 0
push 0
push 0
call fcn.005e2b6a
push 0xffffffffffffffff
mov ecx, esi
call fcn.004b69c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005e2954
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x28
ret