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

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x128]
push ebp
push esi
mov esi, dword [esp + 0x12c]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push edi
mov edi, eax
mov eax, dword [edi + 8]
cmp eax, ecx
jne 0x460bf7
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
mov eax, dword [edi + 0xc]
cmp eax, edx
jne 0x460bf7
xor al, al
jmp 0x460bf9
mov al, 1
cmp byte [esp + 0x12c], 0
je 0x460c21
test al, al
jne 0x460c21
mov ebp, dword [esp + 0x128]
add ebp, 0x324
push ebp
mov eax, edi
call fcn.00458520
jmp 0x460e70
mov ebp, dword [esp + 0x128]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
add ebp, 0x324
push ebp
call fcn.00459120
test eax, eax
jne 0x460ec7
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esp + 0x128]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], eax
cmp byte [edx + 0x35c], 0
movzx eax, word [edi + 0x16]
mov word [edx + 0x33a], ax
je 0x460d35
cmp byte [edx + 0x35d], 0
jne 0x460d35
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov eax, dword [edi + 8]
test eax, eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0x460c9b
fadd dword [0x567d50]
fdivp st(1)
mov edx, dword [ebx + 0xc]
sub edx, dword [ebx + 4]
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [esp + 0x14], edx
fstp dword [esp + 0x18]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x460cc4
fadd dword [0x567d50]
fdivp st(1)
lea esi, [esp + 0x80]
fstp dword [esp + 0x14]
call fcn.00492470
fld dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x3c], eax
fld dword [esp + 0x28]
lea eax, [esp + 0x30]
fstp dword [esp + 8]
xor edx, edx
fild dword [ebx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
fstp dword [esp + 4]
mov ecx, esi
fild dword [ebx]
fstp dword [esp]
push eax
push edi
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ebp
call fcn.00495790
call fcn.00460ee0
mov esi, dword [esp + 0x130]
jmp 0x460e5a
fld1
mov ecx, dword [edx + 0x32c]
test ecx, ecx
fst dword [esp + 0x30]
fldz
mov byte [esp + 0x54], 1
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fxch st(1)
fst dword [esp + 0x40]
fst dword [esp + 0x50]
fild dword [edx + 0x32c]
jge 0x460d7a
fadd dword [0x567d50]
mov eax, dword [edi + 8]
fild dword [edi + 8]
test eax, eax
jge 0x460d8a
fadd dword [0x567d50]
fdivp st(1)
mov ecx, dword [edx + 0x330]
test ecx, ecx
fstp dword [esp + 0x18]
fild dword [edx + 0x330]
jge 0x460da6
fadd dword [0x567d50]
mov eax, dword [edi + 0xc]
fild dword [edi + 0xc]
test eax, eax
jge 0x460db6
fadd dword [0x567d50]
fdivp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x460dd1
fstp st(1)
jmp 0x460dd3
fstp st(0)
fstp dword [esp + 0x14]
lea ecx, [esp + 0x58]
fld dword [esp + 0x14]
lea eax, [esp + 0x30]
fld1
mov byte [esp + 0x7c], 0
fdivrp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x58]
fstp dword [esp + 0x68]
fxch st(1)
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fstp dword [esp + 0x74]
fstp dword [esp + 0x78]
call fcn.004961a0
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [edx + 0x35d], al
push 0x100
sete dl
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push edi
push ebp
lea edi, [esp + 0x38]
mov dword [esp + 0x44], ecx
call fcn.00497c60
add esp, 0x18
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [ebx], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov edx, dword [esp + 0x128]
movzx eax, word [edx + 0x33a]
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00472bb0
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.0045ae30
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x460ec5
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x460ec0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x460ec5
push edi
call fcn.0044d390
add esp, 4
call fcn.004d12a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x10