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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
cmp byte [ebx + 0x94], 0
je 0x462fa7
mov eax, dword [ebx + 0xd4]
fld dword [ebp + 8]
push ecx
fstp dword [esp]
mov dword [esp + 0x20], eax
call fcn.0047aa88
fld dword [ebx + 0x1b8]
cmp byte [ebx + 0x2e0], 0
fmul dword [ebp + 8]
fstp dword [ebp + 8]
je 0x462ca6
cmp dword [ebx + 0x164], 0x64
jne 0x462e8b
call fcn.004014e2
mov esi, 0x84
add eax, esi
test byte [eax + 1], 2
jbe 0x462ada
cmp byte [eax + 0x108], 0
jne 0x462ada
mov eax, dword [ebx + 0xd8]
cmp eax, edi
je 0x462b29
mov ecx, dword [ebx + 0xd4]
cmp ecx, edi
je 0x462a72
push ecx
push ebx
call fcn.004631d3
test al, al
jne 0x462b29
mov eax, dword [ebx + 0xd8]
mov esi, dword [eax + 0x3c]
cmp esi, edi
je 0x462b2f
mov eax, esi
call fcn.00459668
test al, al
je 0x462b2f
mov eax, dword [ebx + 0xd4]
cmp eax, dword [ebx + 0xdc]
je 0x462abb
jmp 0x462a8c
mov esi, dword [eax + 0x3c]
cmp esi, edi
je 0x462b2f
mov eax, esi
call fcn.00459668
test al, al
je 0x462b2f
mov edx, esi
mov ecx, ebx
call fcn.00487cf5
cmp byte [ebx + 0x2eb], 0
jne 0x462abb
fld1
push ecx
fst dword [esp]
fldz
push edi
push ecx
push ecx
fstp dword [esp + 4]
fstp dword [esp]
push dword [ebx + 0x224]
call fcn.00426b50
mov ecx, dword [ebx + 0xd8]
fld dword [0x544048]
push 1
push ecx
fstp dword [esp]
mov dword [ebx + 0xd4], ecx
call fcn.0045b278
jmp 0x462b2f
call fcn.004014e2
add eax, esi
test byte [eax + 2], 2
jbe 0x462af0
cmp byte [eax + 0x108], 0
je 0x462b29
call fcn.004014e2
add eax, esi
test byte [eax + 1], 1
jbe 0x462b2f
cmp byte [eax + 0x108], 0
jne 0x462b2f
mov ecx, dword [ebx + 0xd4]
cmp ecx, edi
je 0x462b2f
mov eax, dword [ebx + 0xdc]
cmp eax, edi
je 0x462b2f
cmp ecx, eax
je 0x462b2f
push ecx
push ebx
call fcn.004631d3
test al, al
je 0x462b2f
mov dword [ebx + 0xd4], edi
fld dword [ebx + 0x2f0]
fsub dword [ebp + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebx + 0x2f0]
fldz
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x462ca6
cmp byte [ebx + 0x2eb], 0
jne 0x462ca6
call fcn.004434ea
cmp byte [eax + 0x180], 0
je 0x462ca6
and dword [esp + 0x10], edi
fld dword [0x543e08]
lea edi, [ebx + 0x54]
fstp dword [ebx + 0x2f0]
mov eax, edi
call fcn.0041ae5a
test eax, eax
jbe 0x462ca6
mov esi, dword [esp + 0x10]
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax]
cmp dword [eax + 0x3c], 0
je 0x462bfc
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax + 0x3c], 0
je 0x462bfc
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
call fcn.00459639
test al, al
je 0x462bfc
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x3c]
call fcn.00459639
test al, al
je 0x462bfc
call fcn.00458652
mov esi, dword [eax]
call fcn.004630fa
cmp eax, 1
je 0x462c12
cmp eax, 2
je 0x462c55
inc dword [esp + 0x10]
mov eax, edi
call fcn.0041ae5a
cmp dword [esp + 0x10], eax
jb 0x462b98
jmp 0x462ca6
mov esi, dword [esp + 0x10]
call fcn.00458652
mov dword [esp + 0x14], eax
call fcn.00458652
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x3c]
movzx ecx, word [ecx + 0x14]
mov esi, dword [eax]
push 1
push dword [ecx*4 + 0x57251c]
push ebx
call fcn.00487488
mov esi, dword [esp + 0x10]
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax + 4]
jmp 0x462c94
mov esi, dword [esp + 0x10]
call fcn.00458652
mov dword [esp + 0x14], eax
call fcn.00458652
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x3c]
movzx ecx, word [ecx + 0x14]
mov esi, dword [eax]
push 2
push dword [ecx*4 + 0x57251c]
push ebx
call fcn.00487488
mov esi, dword [esp + 0x10]
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax]
fld dword [0x543a34]
push ecx
mov ecx, dword [eax + 0x3c]
fstp dword [esp]
call fcn.0045a949
cmp dword [ebx + 0x164], 0x64
jne 0x462e8b
and dword [esp + 0x10], 0
lea edi, [ebx + 0x44]
mov eax, edi
mov byte [esp + 0xf], 0
call fcn.0041ae5a
test eax, eax
jbe 0x462e2b
mov esi, dword [esp + 0x10]
call fcn.00458652
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [eax]
call fcn.0045ac6e
cmp eax, 2
mov dword [esp + 0x14], eax
jle 0x462e16
call fcn.00458652
mov ecx, dword [eax]
call fcn.0045ac96
test al, al
je 0x462e16
call fcn.00458652
fld dword [0x5443d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
movzx eax, word [eax + 0x14]
fst dword [esp + 0x20]
fstp dword [esp + 0x24]
mov dword [esp + 0x18], eax
fld dword [0x543fb4]
fst dword [esp + 0x28]
fstp dword [esp + 0x2c]
call fcn.00458652
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x2f8]
imul ecx, ecx, 5
cmp dword [esp + 0x14], 3
push 0
lea ecx, [ecx + edx - 5]
push ecx
lea ecx, [esp + 0x28]
push ecx
setg cl
push ecx
push 0
lea ecx, [ebx + 0x90]
push ecx
mov ecx, dword [eax]
push ebx
call fcn.0045ae10
push dword [esp + 0x14]
mov esi, ebx
call fcn.00487200
fld dword [0x543b7c]
cmp byte [esp + 0xf], 0
fstp dword [ebx + 0x2f0]
jne 0x462e16
mov esi, dword [ebx + 0x2f8]
test esi, esi
jbe 0x462dc8
fld dword [esp + 0x2c]
push dword [esp + 0x18]
fadd qword [0x543b50]
call fcn.005209b0
fld dword [esp + 0x2c]
fadd dword [esp + 0x24]
push eax
fmul qword [0x543938]
call fcn.005209b0
inc esi
push eax
push esi
mov esi, ebx
call fcn.00487515
inc dword [ebx + 0x2f8]
fld dword [0x543b8c]
mov eax, dword [ebx + 0x2f8]
fstp dword [ebx + 0x2f4]
cmp eax, 0x17
jne 0x462de9
push 5
jmp 0x462e0b
cmp eax, 0x13
jne 0x462df2
push 4
jmp 0x462e0b
cmp eax, 0xf
jne 0x462dfb
push 3
jmp 0x462e0b
cmp eax, 0xb
jne 0x462e04
push 2
jmp 0x462e0b
cmp eax, 7
jne 0x462e11
push 1
push ebx
call fcn.004882bd
mov byte [esp + 0xf], 1
inc dword [esp + 0x10]
mov eax, edi
call fcn.0041ae5a
cmp dword [esp + 0x10], eax
jb 0x462ccf
fldz
fcom dword [ebx + 0x2f4]
fnstsw ax
test ah, 5
jp 0x462e6b
fld dword [ebx + 0x2f4]
fsub dword [ebp + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebx + 0x2f4]
fcom dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x462e6b
and dword [ebx + 0x2f8], 0
fstp dword [ebx + 0x2f4]
jmp 0x462e6d
fstp st(0)
lea eax, [ebx + 0x54]
call fcn.0041ae5a
cmp dword [ebx + 0x90], eax
jne 0x462e8b
and dword [ebx + 0xd4], 0
mov ecx, ebx
call fcn.0047e949
push 0x64
call fcn.0047f5e9
test al, al
je 0x462ea4
cmp dword [ebx + 0x164], 4
jne 0x462ea4
call fcn.0047ec35
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 0xd4]
je 0x462edc
test eax, eax
je 0x462ec3
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x462ec3
mov byte [eax + 0x77], 0
mov byte [eax + 0x78], 0
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x462edc
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x462edc
mov byte [eax + 0x77], 1
mov byte [eax + 0x78], 0
cmp dword [ebx + 0x164], 0x64
jne 0x462fa7
cmp byte [ebx + 0x2eb], 0
jne 0x462fa7
and dword [ebx + 0x21c], 0
and dword [esp + 0x10], 0
lea edi, [ebx + 0x54]
mov eax, edi
mov byte [esp + 0xf], 0
call fcn.0041ae5a
test eax, eax
jbe 0x462f9e
mov esi, dword [esp + 0x10]
call fcn.00458652
mov esi, dword [eax]
call fcn.004630fa
test eax, eax
je 0x462f86
mov esi, dword [esp + 0x10]
mov byte [esp + 0xf], 1
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax]
cmp dword [eax + 0x3c], 0
je 0x462f86
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
call fcn.00459639
test al, al
je 0x462f86
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax + 0x3c], 0
je 0x462f86
call fcn.00458652
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x3c]
call fcn.00459639
test al, al
je 0x462f86
inc dword [ebx + 0x21c]
inc dword [esp + 0x10]
mov eax, edi
call fcn.0041ae5a
cmp dword [esp + 0x10], eax
jb 0x462f19
cmp byte [esp + 0xf], 0
jne 0x462fa7
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x58]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 4