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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2d4]
lea edi, [esi + 0x2d4]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esi + 0x888]
lea ebp, [esi + 0x888]
mov ecx, ebp
call dword [edx + 4]
mov ecx, dword [0x830720]
push 1
push 0
push 1
mov eax, dword [ecx]
push str.if_circle02.tga
call dword [eax + 0x30]
mov ebx, eax
mov ecx, edi
push ebx
call fcn.005329e0
push ebx
mov ecx, ebp
call fcn.005329e0
mov eax, dword [ebx + 4]
dec eax
mov dword [ebx + 4], eax
jne 0x4fa105
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
mov eax, dword [0x830054]
mov edx, dword [0x830058]
mov ecx, dword [0x830050]
mov dword [esp + 0x18], eax
mov eax, dword [0x83005c]
mov dword [esp + 0x1c], edx
mov edx, dword [0x830054]
mov dword [esp + 0x6c], eax
fld dword [esi + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x30]
fld dword [esi + 0x10]
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
push edi
fstp dword [esp + 0x48]
mov dword [esp + 0x4c], 0x43800000
mov dword [esp + 0x50], 0x43800000
mov dword [esp + 0x78], 0x41200000
mov dword [esp + 0x7c], 0x41200000
call fcn.004f9ff0
fld dword [esp + 0x30]
fsub dword [0x7cef7c]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x4c]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
fst dword [esp + 0x7c]
fstp dword [esp + 0x28]
fld dword [esi + 0x14]
fsub dword [0x7cef7c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
fstp dword [esp + 0x44]
fld dword [esi + 0x10]
fstp dword [esp + 0x48]
push edi
mov dword [esp + 0x58], 0x41200000
mov dword [esp + 0x5c], 0x41200000
call fcn.004f9ff0
fld dword [esp + 0x94]
fsub dword [0x7cef7c]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x5c]
fst dword [esp + 0x3c]
fstp dword [esp + 0x60]
fld dword [esi + 0xc]
fstp dword [esp + 0x54]
fld dword [esi + 0x18]
fsub dword [0x7cef7c]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
fstp dword [esp + 0x64]
push edi
mov dword [esp + 0x5c], 0x41200000
mov dword [esp + 0x60], 0x41200000
call fcn.004f9ff0
fld dword [esi + 0x14]
fsub dword [0x7cef7c]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x74]
fstp dword [esp + 0x6c]
fld dword [esi + 0x18]
fsub dword [0x7cef7c]
mov dword [esp + 0x60], eax
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
fstp dword [esp + 0x80]
push edi
mov dword [esp + 0x78], 0x41200000
mov dword [esp + 0x7c], 0x41200000
call fcn.004f9ff0
fld dword [esp + 0x6c]
fsub dword [esp + 0x90]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc4], eax
add esp, 0x50
fmul dword [0x7cd778]
mov dword [esp + 0x84], edx
mov dword [esp + 0x4c], 0x41200000
mov dword [esp + 0x50], 0x41200000
fadd dword [esp + 0x40]
fsub dword [0x7cf03c]
fst dword [esp + 0x80]
fstp dword [esp + 0x70]
fld dword [esi + 0x14]
fsub dword [esi + 0xc]
fsub dword [0x7cdb38]
fstp dword [esp + 0x10]
fld dword [esi + 0xc]
fadd dword [0x7cef7c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 0x41
jne 0x4fa3b6
fld dword [esp + 0x10]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 1
je 0x4fa324
fld dword [esp + 0x10]
jmp 0x4fa328
fld dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
fstp dword [esp + 0x4c]
fld dword [esi + 0x10]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x84]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
fstp dword [esp + 0x3c]
push edi
call fcn.004f9ff0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x4c]
fld dword [esi + 0x18]
fsub dword [0x7cef7c]
mov dword [esp + 0x34], eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
fstp dword [esp + 0x48]
push edi
call fcn.004f9ff0
fld dword [esp + 0x74]
fadd dword [esp + 0x44]
add esp, 0x28
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fsub dword [esp + 0x4c]
fst dword [esp + 0x10]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 0x41
je 0x4fa30f
fld dword [esp + 0x6c]
fsub dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], edx
fmul dword [0x7cd778]
mov dword [esp + 0x44], 0x41200000
mov dword [esp + 0x48], 0x41200000
fadd dword [esp + 0x18]
fsub dword [0x7cf03c]
fst dword [esp + 0x8c]
fstp dword [esp + 0x7c]
fld dword [esi + 0x18]
fsub dword [esi + 0x10]
fsub dword [0x7cdb38]
fstp dword [esp + 0x10]
fld dword [esi + 0x10]
fadd dword [0x7cef7c]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 0x41
jne 0x4fa4d5
fld dword [esp + 0x10]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 1
je 0x4fa443
fld dword [esp + 0x10]
jmp 0x4fa447
fld dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x38]
fstp dword [esp + 0x48]
fld dword [esi + 0xc]
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x8c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
fstp dword [esp + 0x38]
push edi
call fcn.004f9ff0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x4c]
fld dword [esi + 0x14]
fsub dword [0x7cef7c]
mov dword [esp + 0x38], eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x90]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
fstp dword [esp + 0x44]
push edi
call fcn.004f9ff0
fld dword [esp + 0x70]
fadd dword [esp + 0x40]
add esp, 0x28
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fsub dword [esp + 0x48]
fst dword [esp + 0x10]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 0x41
je 0x4fa42e
fld dword [esi + 0xc]
fsub dword [0x7d83b0]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x58], edx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fsub dword [0x7d83b0]
lea edx, [esp + 0x90]
push 0xffffffffffffffff
lea eax, [esp + 0x58]
push edx
push eax
mov ecx, ebp
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fsub dword [0x7d83ac]
fld dword [esp + 0x6c]
fsub dword [0x7d83ac]
fstp dword [esp + 0x6c]
fadd dword [0x7cd794]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fadd dword [0x7cd794]
fstp dword [esp + 0x6c]
fld dword [0x830070]
fmul dword [0x7d3a14]
fstp dword [esp + 0x9c]
fld dword [0x830074]
fmul dword [0x7d3a14]
fstp dword [esp + 0xa0]
fld dword [0x830078]
fmul dword [0x7d3a14]
fstp dword [esp + 0xa4]
fld dword [0x83007c]
fmul dword [0x7d3a14]
fstp dword [esp + 0xa8]
call fcn.00533d50
mov ecx, dword [esi + 0x2f4]
pop edi
and ecx, 0xffff7f3f
or ecx, 0x4020
mov dword [esi + 0x2f4], ecx
mov edx, dword [esi + 0x8a8]
and edx, 0xffff7f3f
or edx, 0x4020
mov dword [esi + 0x8a8], edx
pop esi
pop ebp
pop ebx
add esp, 0x90
ret