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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6599
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [ecx + 0x80]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x30], ecx
je 0x463058
cmp dword [ecx + 0x88], esi
jle 0x463058
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dx, word [eax + 0xc]
mov dword [esp + 0x58], esi
movsx ecx, word [edi + 0x86]
mov dword [esp + 0x2c], edx
movsx edx, dx
imul edx, ecx
mov dword [esp + 0x68], edx
mov edx, dword [edi + 0x20]
mov dword [esp + 0x140], esi
fld dword [edi + 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x24]
fst dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
fstp dword [esp + 0x90]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], edx
fld dword [eax + 8]
mov al, byte [edi + 0x74]
mov ebx, 2
fstp qword [esp + 0x84]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x24], esi
mov esi, dword [ebp + 0x10]
test al, al
mov byte [esp + 0x140], bl
je 0x462ca1
mov dx, word [esi]
movsx eax, dx
inc eax
imul eax, ecx
movsx ecx, word [esi + 2]
add eax, ecx
mov ecx, dword [edi + 0x80]
inc edx
lea eax, [eax + eax*2]
mov dword [esp + 0x34], edx
lea eax, [ecx + eax*8]
movsx ecx, word [esi + 4]
mov dword [esp + 0x28], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jge 0x463058
mov ax, word [esi + 2]
mov edi, dword [esp + 0x28]
movsx ecx, word [esi + 6]
mov dword [esp + 0x3c], eax
sub ecx, ebx
movsx eax, ax
cmp eax, ecx
mov byte [esp + 0xf], 0
jge 0x462c5e
movsx eax, word [esp + 0x2c]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0xc]
movsx eax, word [ecx + 0x86]
mov ecx, edi
lea eax, [eax + eax*2]
shl eax, 3
sub ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
cmp byte [ecx + 0x24], 9
jb 0x462c2d
cmp byte [edi + 0xc], 9
jb 0x462c2d
cmp byte [edi + 0x24], 9
jb 0x462c2d
cmp byte [edi + 0x3c], 9
jb 0x462c2d
cmp byte [eax + edi + 0x24], 9
jb 0x462c2d
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0xf]
test al, al
mov dword [esp + 0x44], edx
lea esi, [edi + 0x18]
je 0x462930
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push esi
call fcn.0045f490
test eax, eax
mov dword [esp + 0x38], eax
je 0x462c2d
jmp 0x462959
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push esi
push edx
call fcn.0045ecd0
test eax, eax
mov dword [esp + 0x38], eax
je 0x462c32
mov byte [esp + 0xf], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
add eax, 0x18
lea ecx, [edi + 0x30]
push eax
push ecx
lea ecx, [esp + 0x128]
push esi
push ecx
mov dword [esp + 0x50], eax
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0xc0]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 3
call fcn.004051b0
mov eax, dword [esp + 0x40]
push edi
push eax
lea ecx, [esp + 0xb0]
push esi
push ecx
mov byte [esp + 0x150], bl
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0xd8]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 4
call fcn.00405270
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x108]
mov byte [esp + 0x140], bl
lea eax, [eax + edi + 0x18]
push eax
push edi
push esi
push ecx
mov dword [esp + 0x30], eax
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0xf0]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 5
call fcn.00405270
lea eax, [edi + 0x30]
lea ecx, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x24]
push eax
push esi
push ecx
mov byte [esp + 0x150], bl
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0xcc]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 6
call fcn.00405270
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld st(1)
fmul st(2)
mov byte [esp + 0x140], bl
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld st(0)
fabs
fcomp qword [0x4e00d0]
fnstsw ax
test ah, 0x41
je 0x462aa1
fstp st(0)
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jmp 0x462ac1
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fdiv st(1)
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x90]
fmul dword [esp + 0x10]
fld dword [esp + 0x94]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0x18]
faddp st(1)
fcomp qword [0x4e00c0]
fnstsw ax
test ah, 1
je 0x462b1d
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xe8]
push ecx
push edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xbff00000
call fcn.00405920
add esp, 0xc
lea eax, [esp + 0x5c]
lea edx, [esp + 0x10]
push eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00405130
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0x48]
push esi
call fcn.00460910
test al, al
je 0x462c32
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
lea edx, [esp + 0x9c]
lea eax, [esp + 0xfc]
push edx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x148], 7
call fcn.004051f0
lea ecx, [esp + 0x20]
lea edx, [esp + 0x114]
push ecx
push eax
push edx
mov byte [esp + 0x14c], 8
call fcn.004736b0
add esp, 0xc
push eax
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x148], 9
call fcn.004051b0
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x144], bl
mov eax, dword [ecx + 4]
push eax
call fcn.00472910
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x144], 0xa
mov eax, dword [ecx + 4]
push eax
call fcn.004728d0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x144], bl
mov edx, dword [ecx + 4]
push edx
call fcn.004728d0
jmp 0x462c32
mov byte [esp + 0xf], 0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
add edi, esi
mov esi, dword [ebp + 0x10]
add eax, ecx
movsx edx, ax
movsx ecx, word [esi + 6]
sub ecx, ebx
mov dword [esp + 0x3c], eax
cmp edx, ecx
jl 0x46289e
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
add edx, ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*2]
mov dword [esp + 0x34], edx
lea eax, [ecx + eax*8]
movsx ecx, word [esi + 4]
mov dword [esp + 0x28], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jl 0x46286d
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ax, word [esi]
movsx edx, ax
inc edx
imul edx, ecx
movsx ecx, word [esi + 2]
add edx, ecx
mov ecx, dword [edi + 0x80]
shl edx, 4
add edx, ecx
inc eax
movsx ecx, word [esi + 4]
mov dword [esp + 0x34], eax
dec ecx
movsx eax, ax
cmp eax, ecx
mov dword [esp + 0x28], edx
jge 0x463058
mov ax, word [esi + 2]
mov edi, edx
movsx ecx, word [esi + 6]
mov dword [esp + 0x3c], eax
sub ecx, ebx
movsx eax, ax
cmp eax, ecx
mov byte [esp + 0xf], 0
jge 0x46302d
movsx eax, word [esp + 0x2c]
shl eax, 4
mov dword [esp + 0x40], eax
mov ecx, dword [ebp + 0xc]
movsx eax, word [ecx + 0x86]
shl eax, 4
mov ecx, edi
mov dword [esp + 0x20], eax
sub ecx, eax
mov dword [esp + 0x1c], ecx
cmp byte [ecx + 0x1c], 9
jb 0x462ffc
cmp byte [edi + 0xc], 9
jb 0x462ffc
cmp byte [edi + 0x1c], 9
jb 0x462ffc
cmp byte [edi + 0x2c], 9
jb 0x462ffc
cmp byte [eax + edi + 0x1c], 9
jb 0x462ffc
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0xf]
test al, al
mov dword [esp + 0x44], edx
lea esi, [edi + 0x10]
je 0x462d90
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push esi
call fcn.0045f490
test eax, eax
mov dword [esp + 0x38], eax
je 0x462ffc
jmp 0x462db9
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push esi
push edx
call fcn.0045ecd0
test eax, eax
mov dword [esp + 0x38], eax
je 0x463001
mov byte [esp + 0xf], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, 0x10
lea ecx, [edi + 0x20]
push eax
push ecx
lea ecx, [esp + 0x134]
push esi
push ecx
mov dword [esp + 0x2c], eax
call fcn.00473330
add esp, 0x10
lea edx, [esp + 0x114]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0xb
call fcn.004051b0
mov eax, dword [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x104]
push esi
push ecx
mov byte [esp + 0x150], bl
call fcn.00473330
add esp, 0x10
lea edx, [esp + 0xe4]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0xc
call fcn.00405270
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xcc]
mov byte [esp + 0x140], bl
lea eax, [eax + edi + 0x10]
push eax
push edi
push esi
push ecx
mov dword [esp + 0x2c], eax
call fcn.00473330
add esp, 0x10
lea edx, [esp + 0xb4]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0xd
call fcn.00405270
lea eax, [edi + 0x20]
lea ecx, [esp + 0xf0]
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
push ecx
mov byte [esp + 0x150], bl
call fcn.00473330
add esp, 0x10
lea edx, [esp + 0x108]
push eax
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0xe
call fcn.00405270
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], bl
call fcn.00405150
lea eax, [esp + 0x90]
lea ecx, [esp + 0x10]
push eax
call fcn.00417dc0
fcomp qword [0x4e00c0]
fnstsw ax
test ah, 1
je 0x462f03
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0xdc]
push edx
push eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xbff00000
call fcn.00405920
add esp, 0xc
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x10]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00405130
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0x48]
push esi
call fcn.00460910
test al, al
je 0x463001
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea edx, [esp + 0x78]
lea eax, [esp + 0xa8]
push edx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x148], 0xf
call fcn.004051f0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xc0]
push ecx
push eax
push edx
mov byte [esp + 0x14c], 0x10
call fcn.004736b0
add esp, 0xc
push eax
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x148], 0x11
call fcn.004051b0
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x144], bl
mov eax, dword [ecx + 4]
push eax
call fcn.00472910
push esi
lea ecx, [esp + 0xa0]
call fcn.00405130
mov ecx, dword [ebp + 0x1c]
push eax
mov byte [esp + 0x144], 0x12
mov edx, dword [ecx + 4]
push edx
call fcn.004728d0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x144], bl
mov edx, dword [ecx + 4]
push edx
call fcn.004728d0
jmp 0x463001
mov byte [esp + 0xf], 0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
add edi, esi
mov esi, dword [ebp + 0x10]
add eax, ecx
movsx edx, ax
movsx ecx, word [esi + 6]
sub ecx, ebx
mov dword [esp + 0x3c], eax
cmp edx, ecx
jl 0x462d01
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x68]
shl ecx, 4
add edx, ecx
mov dword [esp + 0x34], eax
movsx ecx, word [esi + 4]
movsx eax, ax
dec ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
jl 0x462cd5
mov ecx, dword [esp + 0x138]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c