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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d64c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov eax, dword [ecx + 0x80]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x28], ecx
je 0x462741
cmp dword [ecx + 0x88], esi
jle 0x462741
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dx, word [eax + 0xc]
mov dword [esp + 0x7c], esi
movsx ecx, word [ebx + 0x86]
mov dword [esp + 0x2c], edx
movsx edx, dx
imul edx, ecx
mov dword [esp + 0x5c], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x100], esi
fld dword [ebx + 0x1c]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x24]
fst dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x80]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x88], edx
fld dword [eax + 8]
mov al, byte [ebx + 0x74]
mov byte [esp + 0x100], 2
fstp qword [esp + 0x6c]
test al, al
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x20], esi
je 0x46240e
mov esi, dword [ebp + 0x10]
mov dx, word [esi]
movsx eax, dx
inc eax
imul eax, ecx
movsx ecx, word [esi + 2]
add eax, ecx
mov ecx, dword [ebx + 0x80]
inc edx
lea eax, [eax + eax*2]
mov dword [esp + 0x30], edx
lea eax, [ecx + eax*8]
movsx ecx, word [esi + 4]
mov dword [esp + 0x24], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jge 0x462741
mov ax, word [esi + 2]
mov edi, dword [esp + 0x24]
movsx ecx, word [esi + 6]
mov dword [esp + 0x38], eax
sub ecx, 2
movsx eax, ax
cmp eax, ecx
mov byte [esp + 0x13], 0
jge 0x4623cb
movsx eax, word [esp + 0x2c]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x40], eax
movsx eax, word [ebx + 0x86]
mov ebx, edi
lea eax, [eax + eax*2]
shl eax, 3
sub ebx, eax
mov dword [esp + 0x3c], eax
cmp byte [ebx + 0x24], 9
jb 0x462396
cmp byte [edi + 0xc], 9
jb 0x462396
cmp byte [edi + 0x24], 9
jb 0x462396
cmp byte [edi + 0x3c], 9
jb 0x462396
cmp byte [eax + edi + 0x24], 9
jb 0x462396
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
test al, al
mov dword [esp + 0x48], edx
lea esi, [edi + 0x18]
je 0x46212d
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push esi
call fcn.0045f490
test eax, eax
mov dword [esp + 0x34], eax
je 0x462396
jmp 0x462156
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x44]
push edx
push eax
push esi
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0045ecd0
test eax, eax
mov dword [esp + 0x34], eax
je 0x46239b
mov byte [esp + 0x13], 1
mov dword [esp + 0x20], eax
add ebx, 0x18
lea eax, [edi + 0x30]
push ebx
push eax
lea edx, [esp + 0xe8]
push esi
push edx
call fcn.00473480
add esp, 0x10
push eax
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 3
call fcn.004051b0
push edi
push ebx
lea ecx, [esp + 0xb8]
push esi
push ecx
mov byte [esp + 0x110], 2
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0x8c]
push eax
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 4
call fcn.00405270
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x98]
mov byte [esp + 0x100], 2
lea ebx, [eax + edi + 0x18]
push ebx
push edi
push esi
push ecx
call fcn.00473480
add esp, 0x10
lea edx, [esp + 0xa4]
push eax
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 5
call fcn.00405270
lea eax, [edi + 0x30]
mov byte [esp + 0x100], 2
push eax
push ebx
lea eax, [esp + 0xc4]
push esi
push eax
call fcn.00473480
add esp, 0x10
lea ecx, [esp + 0xd4]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 6
call fcn.00405270
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov byte [esp + 0x100], 2
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld st(0)
fabs
fcomp qword [0x4e00d0]
fnstsw ax
test ah, 0x41
je 0x46228e
fstp st(0)
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x4622ae
fld dword [esp + 0x14]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fdiv st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fdiv st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x80]
fmul dword [esp + 0x14]
fld dword [esp + 0x84]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x88]
fmul dword [esp + 0x1c]
faddp st(1)
fcomp qword [0x4e00c0]
fnstsw ax
test ah, 1
je 0x46230a
lea edx, [esp + 0x54]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0xf0]
push eax
push ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xbff00000
call fcn.00405920
add esp, 0xc
lea edx, [esp + 0x4c]
lea eax, [esp + 0x14]
push edx
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00405130
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push esi
call fcn.00460910
test al, al
je 0x46239b
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x4c]
push edx
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 + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x104], 7
mov eax, dword [ecx + 4]
push eax
call fcn.004728d0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x104], 2
mov edx, dword [ecx + 4]
push edx
call fcn.004728d0
jmp 0x46239b
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
add edi, esi
mov esi, dword [ebp + 0x10]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
movsx ecx, word [esi + 6]
movsx edx, ax
sub ecx, 2
cmp edx, ecx
jl 0x4620a8
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
add edx, ecx
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*2]
mov dword [esp + 0x30], edx
lea eax, [ecx + eax*8]
movsx ecx, word [esi + 4]
mov dword [esp + 0x24], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jl 0x462076
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
movsx edi, ax
inc edi
imul edi, ecx
movsx ecx, word [edx + 2]
add edi, ecx
mov ecx, dword [ebx + 0x80]
shl edi, 4
add edi, ecx
inc eax
movsx ecx, word [edx + 4]
movsx esi, ax
dec ecx
mov dword [esp + 0x24], edi
cmp esi, ecx
mov dword [esp + 0x30], eax
jge 0x462741
mov cx, word [edx + 2]
mov byte [esp + 0x13], 0
movsx esi, word [edx + 6]
mov dword [esp + 0x38], ecx
sub esi, 2
movsx ecx, cx
cmp ecx, esi
jge 0x46271a
movsx eax, word [esp + 0x2c]
shl eax, 4
mov dword [esp + 0x3c], eax
movsx eax, word [ebx + 0x86]
shl eax, 4
mov ebx, edi
mov dword [esp + 0x40], eax
sub ebx, eax
cmp byte [ebx + 0x1c], 9
jb 0x4626e1
cmp byte [edi + 0xc], 9
jb 0x4626e1
cmp byte [edi + 0x1c], 9
jb 0x4626e1
cmp byte [edi + 0x2c], 9
jb 0x4626e1
cmp byte [edi + eax + 0x1c], 9
jb 0x4626e1
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x44], edx
lea esi, [edi + 0x10]
je 0x4624f2
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
call fcn.0045f490
test eax, eax
mov dword [esp + 0x34], eax
je 0x4626e1
jmp 0x46251b
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push esi
push edx
call fcn.0045ecd0
test eax, eax
mov dword [esp + 0x34], eax
je 0x4626e6
mov byte [esp + 0x13], 1
mov dword [esp + 0x20], eax
add ebx, 0x10
lea eax, [edi + 0x20]
push ebx
push eax
lea eax, [esp + 0xf4]
push esi
push eax
call fcn.00473330
add esp, 0x10
lea ecx, [esp + 0xd4]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 8
call fcn.004051b0
push edi
push ebx
lea edx, [esp + 0xc4]
push esi
push edx
mov byte [esp + 0x110], 2
call fcn.00473330
add esp, 0x10
push eax
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 9
call fcn.00405270
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x98]
mov byte [esp + 0x100], 2
lea ebx, [edi + ecx + 0x10]
push ebx
push edi
push esi
push edx
call fcn.00473330
add esp, 0x10
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 0xa
call fcn.00405270
lea eax, [edi + 0x20]
lea ecx, [esp + 0xb0]
push eax
push ebx
push esi
push ecx
mov byte [esp + 0x110], 2
call fcn.00473330
add esp, 0x10
lea edx, [esp + 0xc8]
push eax
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x108], 0xb
call fcn.00405270
lea ecx, [esp + 0x14]
mov byte [esp + 0x100], 2
call fcn.00405150
lea eax, [esp + 0x80]
lea ecx, [esp + 0x14]
push eax
call fcn.00417dc0
fcomp qword [0x4e00c0]
fnstsw ax
test ah, 1
je 0x462655
lea ecx, [esp + 0x54]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0xe4]
push edx
push eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xbff00000
call fcn.00405920
add esp, 0xc
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x14]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00405130
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push esi
call fcn.00460910
test al, al
je 0x4626e6
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x4c]
push edx
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 + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x104], 0xc
mov eax, dword [ecx + 4]
push eax
call fcn.004728d0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x104], 2
mov edx, dword [ecx + 4]
push edx
call fcn.004728d0
jmp 0x4626e6
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add eax, edx
mov edx, dword [ebp + 0x10]
add edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
movsx ecx, word [edx + 6]
movsx eax, ax
sub ecx, 2
cmp eax, ecx
jl 0x462470
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x5c]
shl ecx, 4
add edi, ecx
mov dword [esp + 0x30], eax
movsx ecx, word [edx + 4]
movsx esi, ax
dec ecx
mov dword [esp + 0x24], edi
cmp esi, ecx
jl 0x462445
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c