Function at 0x605e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6c92eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x40], ebp
mov eax, dword [ebp + 0xb4]
mov edx, dword [ebp + 0x24]
lea ecx, [eax + eax*2]
shl ecx, 4
sub ecx, eax
mov eax, dword [edx + ecx*4 + 0x6c]
lea edi, [edx + ecx*4]
mov dword [esp + 0x2c], edi
mov byte [edi + 0xb0], 0
mov byte [edi + 0xa0], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x605e9e
lea esi, [eax + eax*2]
mov ebx, eax
shl esi, 3
mov ecx, dword [edi + 0x6c]
sub esi, 0x18
push 0
mov eax, dword [ecx]
mov byte [eax + esi + 0x10], 0
add eax, esi
mov eax, dword [eax]
mov ecx, eax
call fcn.004e22a0
test eax, eax
je 0x605e9b
test byte [eax + 0x50], 2
je 0x605e9b
push 0
mov ecx, eax
call fcn.00456690
dec ebx
jne 0x605e6e
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x605f5a
lea ebx, [eax + eax*2]
mov dword [esp + 0x10], eax
shl ebx, 3
mov edx, dword [edi + 0x68]
sub ebx, 0x18
mov eax, dword [edx]
add eax, ebx
cmp dword [eax], 0
je 0x605f4b
mov cl, byte [eax + 0x14]
test cl, cl
je 0x605f4b
mov esi, dword [ebp + 0x30]
add esi, ebx
mov eax, dword [esi + 0x10]
mov edi, dword [esi]
test eax, eax
je 0x605f47
mov eax, dword [esi + 0x14]
test eax, eax
je 0x605f47
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x605eef
mov eax, dword [ecx]
push edi
call dword [eax + 0x74]
mov ecx, dword [esi + 0x10]
push edi
mov edx, dword [ecx]
call dword [edx + 0x6c]
mov eax, dword [esi + 0x14]
mov ecx, edi
push eax
call fcn.00433160
mov ecx, dword [ebp + 0xf4]
test ecx, ecx
je 0x605f33
mov edx, dword [ecx]
push 0x1402
call dword [edx + 4]
test al, al
je 0x605f33
mov eax, dword [ebp + 0x1c]
test byte [eax + 0x10], 4
jne 0x605f33
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x10]
add eax, 0x50
push eax
call fcn.00433160
mov ecx, dword [esi + 0x14]
push ecx
call fcn.004b8d20
add esp, 4
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x605eb3
mov edx, dword [0x72d944]
mov eax, dword [edx + 0x88]
mov esi, dword [eax + 8]
test esi, esi
mov dword [esp + 0x64], esi
je 0x6063cb
mov ecx, esi
call fcn.004e6970
cmp al, 3
jae 0x605fab
mov eax, dword [0x72d944]
mov eax, dword [eax + 0x88]
mov ecx, dword [eax + 8]
call fcn.004e6970
and eax, 0xff
mov ebx, eax
test ebx, ebx
je 0x6063cb
lea ecx, [ebx + ebx*2]
lea eax, [edi + ecx*8 + 0x34]
jmp 0x605fbd
mov ebx, 3
lea ecx, [ebx + ebx*2]
lea eax, [edi + ecx*8 + 0x34]
jmp 0x605fbd
mov esi, dword [esp + 0x64]
mov ecx, dword [eax - 0x2c]
sub eax, 0x18
dec ebx
mov dword [esp + 0x44], eax
test ecx, ecx
mov dword [esp + 0x10], ebx
je 0x6063c3
cmp byte [eax], 0
je 0x6063c3
push ebx
mov ecx, esi
call fcn.004e6980
mov edi, eax
mov esi, dword [edi + 0x1c]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x605ff7
mov edx, dword [ecx]
push esi
call dword [edx + 0x74]
mov eax, dword [0x72d944]
push esi
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x70]
mov ecx, edi
call fcn.004f77e0
cmp eax, ebp
jne 0x6063bb
push 0
mov ecx, edi
call fcn.004f8a40
push 0
mov ecx, edi
call fcn.004f8a60
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
add eax, 0x80
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 8]
mov ecx, edi
mov dword [esp + 0x50], eax
call fcn.004f72c0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov ecx, edi
mov dword [esp + 0xf4], 1
mov esi, dword [eax + 4]
add esi, 0x80
call fcn.004f72c0
mov ecx, dword [esi]
push esi
mov dword [esp + 0xb0], ecx
mov edx, dword [esi + 4]
mov dword [esp + 0xb4], edx
mov ecx, dword [esi + 8]
mov dword [esp + 0xb8], ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.0045f290
mov edx, dword [0x72d944]
push 1
push 0
lea eax, [esp + 0xcc]
mov esi, dword [edx + 0x58]
push 0
push eax
mov ecx, edi
call fcn.004f76c0
push ecx
lea ecx, [esp + 0xc0]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.004689d0
test eax, eax
je 0x60610e
mov ecx, edi
call fcn.004f72c0
fld dword [esp + 0xc4]
fadd dword [eax]
fstp dword [esp + 0x20]
fld dword [esp + 0xc8]
fadd dword [eax + 4]
fstp dword [esp + 0x24]
fld dword [esp + 0xcc]
fadd dword [eax + 8]
fstp dword [esp + 0x28]
mov edx, dword [0x72d944]
mov esi, dword [edx + 0x68]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
push eax
mov ecx, esi
mov byte [esp + 0xf8], 2
mov word [esp + 0x40], 0xffff
mov dword [esp + 0x3c], edx
call fcn.00489360
cmp al, 1
jne 0x60617b
mov ecx, edi
call fcn.004f7310
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.00488250
cmp al, 1
jne 0x60617b
lea edx, [esp + 0x20]
push 0
push edx
push 0
mov ecx, edi
call fcn.004f7b10
jmp 0x60639c
mov eax, dword [0x704db8]
mov edx, dword [0x72c6b0]
mov dword [esp + 0x60], eax
mov eax, dword [0x72c6b4]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x72c6ac]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
push ecx
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp]
call fcn.00404020
fcom dword [0x6d035c]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x6061fe
fdivr dword [0x6d2234]
fmul dword [esp + 0x60]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
cmp cx, 0xffff
mov dword [esp + 0x68], ecx
fstp st(0)
je 0x60634c
push 0x42340000
push 0x72c608
lea ecx, [esp + 0x74]
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x80], 0x20003
call fcn.004b94a0
mov ebp, 8
fld dword [esp + 0x14]
fadd dword [esp + 0x48]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
dec ebp
fst dword [esp + 0x58]
fld dword [esp + 0x1c]
fadd dword [esp + 0x50]
fst dword [esp + 0x5c]
fld dword [esp + 0x20]
fadd dword [esp + 0x54]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
fxch st(1)
fstp dword [esp + 0x34]
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x38]
call fcn.00489360
cmp al, 1
jne 0x60632b
mov eax, dword [esp + 0x68]
cmp ax, word [esp + 0x3c]
je 0x606313
mov ecx, dword [esp + 0x3c]
push ecx
push eax
mov ecx, esi
call fcn.00488e00
cmp al, 1
jne 0x60632b
mov ecx, edi
call fcn.004f7310
lea edx, [esp + 0x30]
push eax
push edx
mov ecx, esi
call fcn.00488250
cmp al, 1
je 0x606362
lea eax, [esp + 0x14]
push 1
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.004b9550
test ebp, ebp
jne 0x6062b0
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push 0
push eax
push 0
mov ecx, edi
call fcn.004f7b10
jmp 0x6063a0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
mov ecx, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.004f72c0
mov edx, dword [eax + 4]
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
mov ecx, edi
mov dword [esp + 0x30], edx
call fcn.004f7b10
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x10]
mov ecx, edi
call fcn.004f7980
push 0
mov ecx, edi
call fcn.004f7600
mov dword [esp + 0xf4], 0xffffffff
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
test ebx, ebx
jne 0x605fb9
mov eax, dword [edi + 8]
test eax, eax
je 0x6063ea
mov al, byte [edi + 0x1c]
test al, al
je 0x6063ea
mov edx, dword [0x72d944]
mov eax, dword [edx + 0x6c]
add eax, 0x46c
and dword [eax], 0xfffffff7
mov ecx, ebp
call fcn.00606d80
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret