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

Disassembly:
sub esp, 0xc0
push ebx
push ebp
mov ebp, dword [esp + 0xcc]
push esi
push edi
push 0
mov ebx, eax
mov dword [esp + 0x44], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + ebx + 4]
push 0x5c81b4
push 0x5c61c0
lea ecx, [ecx + ebx + 4]
push 0
push 0x5c81b4
call dword [edx + 8]
push eax
call sub.MSVCR71.dll___RTDynamicCast
fld qword [0x594cf8]
fstp qword [esp + 0x54]
lea esi, [eax + 0x20]
fld qword [0x594cf8]
mov ecx, 0xe
lea edi, [esp + 0xa4]
fstp qword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
add esp, 0x14
lea edi, [esp + 0x10]
lea esi, [esp + 0x40]
call fcn.004ae4f0
fld qword [esp + 0xc0]
fmul qword [esp + 0x40]
fstp qword [esp + 0x40]
fld qword [esp + 0xc0]
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0xa0]
fsub qword [esp + 0x90]
fst qword [esp + 0x38]
fld qword [esp + 0xa8]
fsub qword [esp + 0x98]
fst qword [esp + 0x20]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x28]
fstp st(0)
fstp st(0)
call fcn.004ae230
fmul qword [esp + 0xb8]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push ecx
fstp qword [esp + 0xd0]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 8]
push ecx
push edx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
fild dword [esp + 0x30]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x30]
fld qword [esp + 0x20]
fld qword [esp + 0x38]
fpatan
fstp qword [esp + 0x88]
fld qword [esp + 0xc8]
fcom qword [0x594cf8]
fld qword [esp + 0x30]
fmul qword [0x595068]
fnstsw ax
test ah, 0x41
jne 0x4afc19
fadd st(1)
jmp 0x4afc1b
fsubr st(1)
fstp qword [esp + 0x38]
lea edx, [esp + 0x48]
fstp st(0)
call fcn.00438c70
fld qword [0x594cd8]
sub esp, 8
fdiv qword [esp + 0x30]
lea edi, [esp + 0x98]
lea esi, [esp + 0x50]
fst qword [esp + 0x30]
fmul qword [esp + 0xd0]
fmul qword [0x594dc8]
fst qword [esp + 0x20]
fstp qword [esp]
call fcn.00496130
fld qword [esp + 0x30]
mov edx, dword [esp + 0xa4]
fmul qword [0x595060]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
fst qword [esp + 0x20]
mov dword [0x68cba4], edx
fadd qword [esp + 0x40]
mov dword [0x68cbac], ecx
sub esp, 8
mov ecx, edi
mov edx, 0x68cba0
fstp qword [esp]
mov dword [0x68cba0], ebx
mov dword [0x68cba8], eax
call fcn.004b67a0
fld qword [esp + 0x10]
fadd qword [esp + 0x40]
mov edx, dword [0x68cba0]
mov ecx, dword [0x68cba8]
mov eax, dword [0x68cba4]
fst qword [esp + 0x10]
mov dword [0x68cc00], edx
mov edx, dword [0x68cbac]
fchs
fld qword [esp + 0x30]
mov dword [0x68cc08], ecx
fmul qword [0x595058]
mov dword [0x68cc0c], edx
sub esp, 8
mov ecx, edi
fsubp st(1)
mov edx, 0x68cc00
mov dword [0x68cc04], eax
fstp qword [esp]
call fcn.004b67a0
fld qword [esp + 0x58]
fmul qword [0x68cba8]
fld qword [esp + 0x50]
fmul qword [0x68cba0]
faddp st(1)
fadd qword [esp + 0x60]
fld qword [esp + 0x70]
fmul qword [0x68cba8]
fld qword [esp + 0x68]
fmul qword [0x68cba0]
faddp st(1)
fadd qword [esp + 0x78]
fstp qword [0x68cba8]
fstp qword [0x68cba0]
fld qword [esp + 0x50]
fmul qword [0x68cc00]
fld qword [esp + 0x58]
fmul qword [0x68cc08]
faddp st(1)
fadd qword [esp + 0x60]
fld qword [esp + 0x68]
fmul qword [0x68cc00]
fld qword [esp + 0x70]
fmul qword [0x68cc08]
faddp st(1)
fadd qword [esp + 0x78]
fstp qword [0x68cc08]
fstp qword [0x68cc00]
fld qword [esp + 0x18]
fadd qword [esp + 0x88]
sub esp, 8
fst qword [0x68c8c0]
fstp qword [0x68c8f0]
fld qword [esp + 0x30]
fmul qword [esp + 0x40]
fmul qword [0x594da8]
fstp qword [esp]
call fcn.00496130
mov eax, dword [0x68cba0]
fld qword [esp + 0x50]
mov ecx, dword [0x68cba4]
mov edx, dword [0x68cba8]
mov dword [0x68cbb4], ecx
mov dword [0x68cbb0], eax
fmul qword [0x68cbb0]
mov eax, dword [0x68cbac]
fld qword [esp + 0x58]
mov dword [0x68cbb8], edx
mov dword [0x68cbbc], eax
fmul qword [0x68cbb8]
sub esp, 8
faddp st(1)
fadd qword [esp + 0x68]
fld qword [esp + 0x70]
fmul qword [0x68cbb0]
fld qword [esp + 0x78]
fmul qword [0x68cbb8]
faddp st(1)
fadd qword [esp + 0x80]
fstp qword [0x68cbb8]
mov eax, dword [0x68cbb8]
mov dword [0x68cbc8], eax
fstp qword [0x68cbb0]
mov ecx, dword [0x68cbb0]
fld qword [esp + 0xd0]
mov edx, dword [0x68cbb4]
fsub qword [esp + 0x40]
mov dword [0x68cbc0], ecx
mov ecx, dword [0x68cbbc]
mov dword [0x68cbc4], edx
fmul qword [esp + 0x30]
mov dword [0x68cbcc], ecx
mov ecx, edi
fsubr qword [esp + 0x90]
mov edx, 0x68cbc0
fst qword [0x68c8e8]
fst qword [0x68c8d0]
fstp qword [0x68c8c8]
fld qword [esp + 0x18]
fmul qword [0x594da8]
fst qword [esp + 0x18]
fstp qword [esp]
call fcn.004b67a0
mov edx, dword [0x68cbc0]
fld qword [esp + 0x10]
mov ecx, dword [0x68cbc8]
mov eax, dword [0x68cbc4]
mov dword [0x68cbf0], edx
mov edx, dword [0x68cbcc]
mov dword [0x68cbf8], ecx
mov dword [0x68cbfc], edx
sub esp, 8
mov ecx, edi
fstp qword [esp]
mov edx, 0x68cbf0
mov dword [0x68cbf4], eax
call fcn.004b67a0
fld qword [esp + 0x28]
fmul qword [esp + 0x38]
sub esp, 8
fmul qword [0x594dc8]
fstp qword [esp]
call fcn.00496130
mov eax, dword [0x68cba0]
mov ecx, dword [0x68cba4]
mov edx, dword [0x68cba8]
mov dword [0x68cbd0], eax
mov dword [0x68cbd4], ecx
mov dword [0x68cbd8], edx
mov eax, dword [0x68cbac]
fld qword [esp + 0x50]
fmul qword [0x68cbd0]
mov dword [0x68cbdc], eax
fld qword [esp + 0x58]
sub esp, 8
fmul qword [0x68cbd8]
faddp st(1)
fadd qword [esp + 0x68]
fld qword [esp + 0x70]
fmul qword [0x68cbd0]
fld qword [esp + 0x78]
fmul qword [0x68cbd8]
faddp st(1)
fadd qword [esp + 0x80]
fstp qword [0x68cbd8]
mov eax, dword [0x68cbd8]
mov dword [0x68cbe8], eax
fstp qword [0x68cbd0]
mov ecx, dword [0x68cbd0]
fld qword [esp + 0xd0]
mov edx, dword [0x68cbd4]
fadd st(0), st(0)
mov dword [0x68cbe0], ecx
mov ecx, dword [0x68cbdc]
mov dword [0x68cbe4], edx
fsub qword [esp + 0x40]
mov dword [0x68cbec], ecx
mov ecx, edi
mov edx, 0x68cbe0
fmul qword [esp + 0x30]
fadd qword [esp + 0x90]
fst qword [0x68c8e0]
fstp qword [0x68c8d8]
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.004b67a0
mov edx, dword [0x68cbe0]
fld qword [esp + 0x10]
mov ecx, dword [0x68cbe8]
mov eax, dword [0x68cbe4]
mov dword [0x68cc10], edx
mov edx, dword [0x68cbec]
mov dword [0x68cc18], ecx
mov dword [0x68cc1c], edx
sub esp, 8
mov ecx, edi
fstp qword [esp]
mov edx, 0x68cc10
mov dword [0x68cc14], eax
call fcn.004b67a0
fld qword [esp + 0xb8]
fcomp qword [0x594cf8]
fnstsw ax
test ah, 5
jp 0x4b0039
fld qword [0x594d38]
jmp 0x4b003f
fld qword [0x594cf8]
fadd qword [0x68c8e0]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
fstp qword [0x68c8f8]
sub esp, 8
fld qword [esp + 0x20]
lea edi, [esp + 0x98]
lea esi, [esp + 0x50]
fstp qword [esp]
mov dword [0x68cc20], ebx
mov dword [0x68cc24], eax
mov dword [0x68cc28], ecx
mov dword [0x68cc2c], edx
call fcn.00496130
fld qword [esp + 0x50]
fmul qword [0x68cc20]
sub esp, 8
fld qword [esp + 0x60]
mov ecx, edi
fmul qword [0x68cc28]
mov edx, 0x68cc20
faddp st(1)
fadd qword [esp + 0x68]
fld qword [esp + 0x70]
fmul qword [0x68cc20]
fld qword [esp + 0x78]
fmul qword [0x68cc28]
faddp st(1)
fadd qword [esp + 0x80]
fstp qword [0x68cc28]
fstp qword [0x68cc20]
fld qword [esp + 0x48]
fmul qword [0x594dc8]
fstp qword [esp]
call fcn.004b67a0
fld qword [0x594cf8]
sub esp, 8
fstp qword [0x68c900]
fld qword [esp + 0x28]
fst qword [esp + 0x20]
fld qword [esp + 0x30]
fmul st(1)
fstp qword [esp + 0x28]
fstp st(0)
fld qword [esp + 0x28]
fstp qword [esp]
call fcn.00496130
mov eax, dword [0x68cbb0]
fld qword [esp + 0x58]
mov edx, dword [0x68cbb8]
mov ecx, dword [0x68cbb4]
mov dword [0x68cc30], eax
mov eax, dword [0x68cbbc]
mov dword [0x68cc38], edx
mov dword [0x68cc3c], eax
fmul qword [0x68cc38]
fld qword [esp + 0x50]
mov dword [0x68cc34], ecx
fmul qword [0x68cc30]
mov ecx, dword [0x68cbc0]
mov edx, dword [0x68cbc4]
mov eax, dword [0x68cbc8]
faddp st(1)
mov dword [0x68cc60], ecx
mov ecx, dword [0x68cbcc]
sub esp, 8
fadd qword [esp + 0x68]
mov dword [0x68cc64], edx
fld qword [esp + 0x78]
mov dword [0x68cc68], eax
fmul qword [0x68cc38]
mov dword [0x68cc6c], ecx
fld qword [esp + 0x70]
fmul qword [0x68cc30]
faddp st(1)
fadd qword [esp + 0x80]
fstp qword [0x68cc38]
fstp qword [0x68cc30]
fld qword [esp + 0x18]
fstp qword [esp]
mov ecx, edi
mov edx, 0x68cc60
call fcn.004b67a0
fld qword [esp + 0x58]
fmul qword [0x68cc68]
sub esp, 8
fld qword [0x68cc60]
fmul qword [esp + 0x58]
faddp st(1)
fadd qword [esp + 0x68]
fld qword [esp + 0x78]
fmul qword [0x68cc68]
fld qword [0x68cc60]
fmul qword [esp + 0x70]
faddp st(1)
fadd qword [esp + 0x80]
fstp qword [0x68cc68]
fstp qword [0x68cc60]
fld qword [esp + 0x28]
fchs
fstp qword [esp]
call fcn.00496130
mov edx, dword [0x68cbd0]
mov eax, dword [0x68cbd4]
mov ecx, dword [0x68cbd8]
mov dword [0x68cc40], edx
mov edx, dword [0x68cbdc]
mov dword [0x68cc44], eax
fld qword [0x68cc40]
fmul qword [esp + 0x50]
mov dword [0x68cc48], ecx
mov dword [0x68cc4c], edx
fld qword [0x68cc48]
fmul qword [esp + 0x58]
mov eax, dword [0x68cc10]
mov ecx, dword [0x68cc14]
mov edx, dword [0x68cc18]
faddp st(1)
mov dword [0x68cc50], eax
mov eax, dword [0x68cc1c]
mov dword [0x68cc54], ecx
fadd qword [esp + 0x60]
mov ecx, dword [esp + 0x90]
fld qword [0x68cc48]
mov dword [0x68cc58], edx
fmul qword [esp + 0x70]
mov dword [0x68cc5c], eax
fld qword [0x68cc40]
mov edx, dword [esp + 0x94]
fmul qword [esp + 0x68]
mov eax, dword [esp + 0x98]
mov dword [0x68cc70], ecx
mov ecx, dword [esp + 0x9c]
faddp st(1)
mov dword [0x68cc74], edx
mov dword [0x68cc78], eax
mov dword [0x68cc7c], ecx
fadd qword [esp + 0x78]
mov esi, 0x68cc30
fstp qword [0x68cc48]
fstp qword [0x68cc40]
fld qword [0x68cc50]
fmul qword [esp + 0x50]
fld qword [0x68cc58]
fmul qword [esp + 0x58]
faddp st(1)
fadd qword [esp + 0x60]
fld qword [0x68cc58]
fmul qword [esp + 0x70]
fld qword [0x68cc50]
fmul qword [esp + 0x68]
faddp st(1)
fadd qword [esp + 0x78]
fstp qword [0x68cc58]
fstp qword [0x68cc50]
jmp 0x4b0340
fld qword [esi]
fsub qword [esp + 0x90]
fld st(0)
fld qword [esi + 8]
fsub qword [esp + 0x98]
fst qword [esp + 0x20]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld qword [0x594cf8]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4b03a1
fld qword [esp + 0x18]
fsubr st(1)
fdivrp st(1)
fxch st(1)
fmul st(1)
fadd qword [esp + 0x90]
fstp qword [esi]
fld qword [esp + 0x20]
fmul st(1)
fadd qword [esp + 0x98]
fstp qword [esi + 8]
jmp 0x4b03a3
fstp st(0)
mov edi, ebp
fstp st(0)
call fcn.0048f070
add esi, 0x10
cmp esi, 0x68cc80
jl 0x4b0340
mov esi, 0x68cba0
mov ebx, 9
mov edi, ebp
call fcn.0048f070
add esi, 0x10
dec ebx
jne 0x4b03c1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 4