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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
fld dword [0x6bda00]
push esi
fcomp dword [ebx + 0x8bc]
push edi
fnstsw ax
test ah, 0x44
jp 0x426f10
fild dword [0x72ca18]
fmul dword [0x6bdc98]
fstp dword [ebx + 0x8bc]
fld dword [ebx + 0x3d4]
xor eax, eax
fmul dword [0x6bdc50]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0xf0]
mov dword [esp + 0x2c], eax
lea ecx, [ebx + 0x8ac]
lea edx, [ebx + 0x374]
lea eax, [ebx + 0x354]
fstp dword [esp + 0x3c]
mov dword [esp + 0x14], 0x50000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov al, byte [ebx + ecx + 0x350]
test al, al
je 0x427224
inc dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov esi, dword [edx]
mov edi, esi
imul edi, edi, 0x94
add edi, 0x6e1b40
cmp esi, 0xd
je 0x426f97
cmp esi, 0xe
jne 0x426fbe
mov ecx, dword [esp + 0x1c]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x34]
or ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
xor ecx, ecx
cmp esi, 0xe
sete cl
or eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
fld dword [eax]
fld dword [eax + 4]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fstp dword [esp + 0x38]
fld dword [ebp + 8]
fcomp dword [0x6a9cec]
fnstsw ax
test ah, 5
jp 0x427115
fld dword [esp + 0x38]
fcomp dword [edi + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x427115
fild dword [0x72ca18]
mov ecx, dword [esp + 0x20]
fmul dword [0x6bdc98]
fsub dword [ebx + 0x8bc]
fadd dword [ecx]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
mov eax, dword [edi + 0x58]
test eax, eax
je 0x42711f
cmp byte [eax], 0
je 0x42711f
fld dword [edi + 0x5c]
fld dword [esp + 0x38]
fsub st(1)
fld dword [edi + 0x60]
fsub st(2)
fdivp st(1)
fstp st(1)
fld dword [esp + 0x18]
fcomp dword [0x6a9d1c]
fnstsw ax
test ah, 5
jp 0x427062
fmul dword [0x6bda00]
jmp 0x4270ab
fld dword [esp + 0x18]
fcomp dword [0x6a9d20]
fnstsw ax
test ah, 5
jp 0x42707b
fmul dword [0x6bdb5c]
jmp 0x4270ab
fld dword [esp + 0x18]
fcomp dword [0x6a9d24]
fnstsw ax
test ah, 5
jp 0x427094
fmul dword [0x6bda38]
jmp 0x4270ab
fld dword [esp + 0x18]
fcomp dword [0x6a9d28]
fnstsw ax
test ah, 5
jp 0x4270ab
fmul dword [0x6bdc68]
fcom dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x4270d5
fst dword [esp + 0x38]
fld dword [0x6bda18]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x4270df
fld dword [0x6bda18]
jmp 0x4270e3
fstp st(0)
fld dword [0x6bda00]
jmp 0x4270e3
fld dword [esp + 0x38]
fst dword [esp + 0x38]
fst dword [ecx - 0x508]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x42711f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push 0
add eax, esi
push eax
push ecx
push ebx
mov ecx, 3
call fcn.005499f0
jmp 0x42711f
mov edx, dword [esp + 0x20]
mov dword [edx], 0
fld dword [ebp + 8]
fcomp dword [0x6a9ce8]
fnstsw ax
test ah, 5
jp 0x427224
mov eax, dword [esp + 0x14]
cmp eax, 0x50000
je 0x427224
cmp eax, 0x60000
je 0x427224
mov eax, dword [esp + 0x10]
fld dword [eax]
fcomp dword [edi + 0x68]
fnstsw ax
test ah, 0x41
jne 0x427224
mov eax, dword [edi + 0x64]
test eax, eax
je 0x427224
cmp byte [eax], 0
je 0x427224
mov ecx, dword [esp + 0x10]
fld dword [edi + 0x68]
fld dword [ecx]
push 0x3f800000
fsub st(1)
push 0
fld dword [edi + 0x6c]
push ecx
fsub st(2)
fdivp st(1)
fstp dword [esp]
fstp st(0)
call fcn.00401be0
fst dword [esp + 0x44]
add esp, 0xc
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x427224
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x64], 0
call fcn.00598540
fld dword [esp + 0x4c]
fadd dword [ebx + 0x70]
mov eax, dword [esp + 0x20]
fld dword [ebx + 0x74]
add esp, 0xc
fadd dword [esp + 0x44]
fld dword [ebx + 0x78]
lea edx, [esp + 0x40]
fadd dword [esp + 0x48]
push edx
add eax, esi
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
fxch st(1)
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
push eax
fstp dword [esp + 0x4c]
push ecx
push ebx
mov ecx, 4
call fcn.005499f0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, 4
add edx, eax
inc esi
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
add eax, 0x10000
add esi, 8
add edx, 0x40
cmp eax, 0x90000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], edx
jl 0x426f62
cmp dword [esp + 0x30], 2
jle 0x4274cb
push 0
push 0
lea edx, [esp + 0x40]
push edx
lea eax, [ebx + 0x540]
lea edi, [ebx + 0x60]
push eax
call fcn.0043de60
fstp st(0)
mov edi, dword [esp + 0x38]
mov esi, edi
imul esi, esi, 0x94
add esi, 0x6e1b40
mov ecx, dword [esi + 0x40]
cmp byte [ecx], 0
mov dword [esp + 0x14], 0
je 0x427300
fld dword [esp + 0x3c]
fsub dword [esi + 0x44]
fld dword [esi + 0x48]
fsub dword [esi + 0x44]
fdivp st(1)
fst dword [esp + 0x14]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x4273a3
fld dword [esp + 0x14]
fld dword [0x6bda18]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x4272fc
fstp st(0)
fld dword [0x6bda18]
fstp dword [esp + 0x14]
mov edx, dword [esi + 0x4c]
cmp byte [edx], 0
mov dword [esp + 0x10], 0
je 0x427351
fld dword [esp + 0x3c]
fsub dword [esi + 0x50]
fld dword [esi + 0x54]
fsub dword [esi + 0x50]
fdivp st(1)
fst dword [esp + 0x10]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x4273ae
fld dword [esp + 0x10]
fld dword [0x6bda18]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x42734d
fstp st(0)
fld dword [0x6bda18]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
fcom dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x427421
fsub dword [0x6bda18]
fcom dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x4273d5
fld dword [esi + 0x44]
fcomp dword [esi + 0x50]
fnstsw ax
fadd st(0), st(0)
test ah, 5
jp 0x4273b6
fsubr dword [esp + 0x14]
fst dword [esp + 0x14]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x4273fb
jmp 0x4273d7
fld dword [0x6bda00]
jmp 0x4272fc
fld dword [0x6bda00]
jmp 0x42734d
fsubr dword [esp + 0x10]
fst dword [esp + 0x10]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
je 0x4273d7
mov dword [esp + 0x10], 0
jmp 0x4273d7
fstp st(0)
fld dword [esp + 0x14]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x4273fb
mov eax, dword [esp + 0x14]
push 0
push edi
push eax
push ebx
mov ecx, 1
call fcn.005499f0
fld dword [esp + 0x10]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x427423
mov ecx, dword [esp + 0x10]
push 0
push edi
push ecx
push ebx
mov ecx, 2
call fcn.005499f0
jmp 0x427423
fstp st(0)
fld dword [ebx + 0x330]
fadd dword [ebx + 0x334]
fadd dword [ebx + 0x338]
fadd dword [ebx + 0x33c]
fsub dword [esi + 0x74]
fld dword [esi + 0x78]
fsub dword [esi + 0x74]
fdivp st(1)
fst dword [esp + 0x30]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x427478
fld dword [esp + 0x30]
fld dword [0x6bda18]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x42747e
fstp st(0)
mov dword [esp + 0x30], 0x3f800000
jmp 0x42748f
fld dword [0x6bda00]
fst dword [esp + 0x30]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x4274cb
mov esi, dword [ebx + 0x878]
test esi, esi
je 0x4274b8
fld dword [esp + 0x30]
mov edi, dword [esi]
fmul dword [0x6bdb18]
push 0
call fcn.00666390
push eax
push 5
mov ecx, esi
call dword [edi + 0x5c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push 0
push edi
push edx
push ebx
mov ecx, 5
call fcn.005499f0
fld dword [ebp + 8]
fcomp dword [0x6a9cf0]
fnstsw ax
test ah, 5
jp 0x427582
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x427582
fld dword [ebx + 0x3d4]
fcomp dword [0x6bdcfc]
fnstsw ax
test ah, 0x41
jne 0x427582
mov eax, dword [0x6e30cc]
lea edi, [eax + 0xb4]
add eax, 0x3c
mov ecx, ebx
call fcn.004269a0
mov eax, dword [ebx + 0x14]
cmp dword [eax + 4], 1
jne 0x427582
mov cl, byte [eax + 0x734]
test cl, cl
jne 0x427582
mov eax, dword [0x6e30d0]
add eax, 3
and eax, reloc.WS2_32.dll_closesocket
jns 0x42753e
dec eax
or eax, 0xfffffffc
inc eax
jne 0x427582
fld dword [ebx + 0x3d4]
fcomp dword [0x6bdd28]
fnstsw ax
test ah, 0x41
jne 0x427582
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4275bd
mov al, byte [ebx + 0x8e8]
test al, al
jne 0x427582
mov ecx, dword [0x6a9cd4]
mov eax, dword [0x72960c]
push str.InDeepWater
push ecx
call fcn.005521c0
mov byte [ebx + 0x8e8], 1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x427591
mov byte [ebx + 0x8e8], 0
mov ecx, dword [ebx + 0x868]
test ecx, ecx
je 0x427640
mov dl, byte [0x77be06]
test dl, dl
je 0x4275d5
movzx eax, word [ecx + 0x34]
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul dword [0x6bda20]
jmp 0x4275db
mov edx, dword [0x6a9cd8]
mov eax, dword [0x72960c]
push str.InShallowWater
push edx
call fcn.005521c0
jmp 0x42758a
fld dword [0x6bda00]
fcomp dword [0x6a9ca0]
fnstsw ax
test ah, 0x41
jne 0x4275ef
mov ecx, 7
jmp 0x427631
mov eax, dword [ecx + 0xe0]
and eax, 0x30000000
cmp eax, 0x30000000
jne 0x427640
test dl, dl
je 0x427619
movzx ecx, word [ecx + 0x34]
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fmul dword [0x6bda20]
jmp 0x42761f
fld dword [0x6bda00]
fcomp dword [0x6a9ca4]
fnstsw ax
test ah, 0x41
jne 0x427640
mov ecx, 6
push 0
push 0
push 0x3f800000
push ebx
call fcn.005499f0
mov al, byte [ebx + 0x83c]
test al, al
jne 0x427690
mov eax, dword [ebx + 0x3fc]
test eax, eax
je 0x4276a4
cmp eax, 0x7fffffff
je 0x4276a4
mov edx, dword [0x72ca18]
sub edx, eax
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
fmul dword [0x6bdc98]
fild dword [ebx + 0x3f8]
fmul dword [0x6bdc98]
fcompp
fnstsw ax
test ah, 5
jp 0x427690
lea esi, [ebx + 0x40]
call fcn.00462060
jmp 0x4276a4
push 0
push 0
push 0x3f800000
push ebx
mov ecx, 0xa
call fcn.005499f0
cmp dword [ebx + 0x3d8], 1
jne 0x427794
mov ecx, dword [ebx + 0x10]
push 3
add ecx, 8
call fcn.0059ac70
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x40]
test ecx, ecx
fst dword [esp + 0x3c]
je 0x4276de
fadd dword [0x6bda38]
fst dword [esp + 0x3c]
fcomp dword [0x6bddc0]
fnstsw ax
test ah, 1
jne 0x427794
mov eax, dword [ebx + 0x20]
fld dword [eax + 0x1f8]
fsub dword [eax + 0x1f0]
mov al, byte [ebx + 0x83d]
fld dword [0x6f229c]
test al, al
fcomp dword [0x6bdc58]
fnstsw ax
je 0x427767
test ah, 0x44
jnp 0x427723
fld dword [0x6f229c]
jmp 0x427729
fld dword [ebx + 0x3e0]
fxch st(1)
fmul dword [0x6a9d2c]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x427794
mov ecx, dword [ebx + 0x3d8]
fld dword [esp + 0x3c]
fmul dword [0x6bdf9c]
push 0
push ecx
push ecx
fstp dword [esp]
push ebx
mov ecx, 0xa
call fcn.005499f0
mov byte [ebx + 0x83d], 0
jmp 0x427794
test ah, 0x44
jnp 0x427774
fld dword [0x6f229c]
jmp 0x42777a
fld dword [ebx + 0x3e0]
fxch st(1)
fmul dword [0x6a9d30]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x427794
mov byte [ebx + 0x83d], 1
mov eax, dword [ebx + 0x3fc]
test eax, eax
lea esi, [ebx + 0x40]
je 0x427808
cmp eax, 0x7fffffff
je 0x427808
mov edx, dword [0x72ca18]
sub edx, eax
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
fmul dword [0x6bdc98]
fild dword [esi + 0x3b8]
fmul dword [0x6bdc98]
fcompp
fnstsw ax
test ah, 5
jp 0x4277da
call fcn.00462060
jmp 0x427808
mov eax, dword [0x72afb4]
mov eax, dword [eax]
test eax, eax
je 0x4277f4
cmp eax, 1
je 0x4277f4
cmp eax, 2
je 0x4277f4
cmp eax, 3
jne 0x427808
push 0
push 0
push 0x3f800000
push ebx
mov ecx, 0xd
call fcn.005499f0
mov al, byte [ebx + 0x86d]
test al, al
je 0x4278c5
xor edi, edi
mov esi, 0x50000
lea ecx, [ecx]
mov al, byte [ebx + edi + 0x350]
test al, al
je 0x4278b2
movsx edx, byte [ebx + 0x86c]
mov eax, 1
mov ecx, edi
shl eax, cl
test eax, edx
je 0x4278b2
fld dword [ebx + 0x3d4]
fmul dword [0x6bdc50]
fsub dword [0x6a9cf4]
fld dword [0x6a9cf8]
fsub dword [0x6a9cf4]
fdivp st(1)
fst dword [esp + 0x34]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 0x41
jne 0x427895
fld dword [esp + 0x34]
fld dword [0x6bda18]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 5
jp 0x42789b
fstp st(0)
mov dword [esp + 0x3c], 0x3f800000
jmp 0x42789f
fld dword [0x6bda00]
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
push 0
push esi
push ecx
push ebx
mov ecx, 9
call fcn.005499f0
add esi, 0x10000
inc edi
cmp esi, 0x90000
jl 0x427820
cmp dword [ebx + 0x28], 1
jne 0x42792f
mov edx, dword [ebx + 0x34]
mov esi, dword [edx + 0x48]
fld dword [esi + 0x8c]
fcomp dword [0x6f21c8]
fnstsw ax
test ah, 0x41
jne 0x427911
fld dword [esi + 0x8c]
push 0
fsub dword [0x6f21c8]
push 0
fld dword [0x6bda18]
push ecx
fsub dword [0x6f21c8]
mov ecx, 6
fdivp st(1)
fstp dword [esp]
push ebx
call fcn.005499f0
mov eax, dword [esi + 0x94]
test eax, eax
je 0x42792f
push 0
push 0
push 0x3f800000
push ebx
mov ecx, 7
call fcn.005499f0
fild dword [0x72ca18]
pop edi
pop esi
fmul dword [0x6bdc98]
fstp dword [ebx + 0x8bc]
mov esp, ebp
pop ebp
ret 4