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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
push edi
push esi
mov dword [esp + 0x24], esi
call fcn.005fa1a0
test al, al
je 0x5f74ec
mov eax, dword [ebp + 0x10]
push eax
call fcn.005fa770
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
movzx ecx, byte [eax]
movzx edx, byte [eax + 4]
movzx eax, byte [eax + 8]
shl edi, 8
or edi, ecx
shl edi, 8
or edi, edx
shl edi, 8
or edi, eax
mov eax, dword [ebp + 8]
fild dword [eax]
fld qword [0x87d2f0]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fisubr dword [eax + 4]
fstp dword [esp + 0x24]
fild dword [eax + 8]
fstp dword [esp + 0x18]
fild dword [eax + 0xc]
mov eax, dword [esi + 0x74]
fstp dword [esp + 0x10]
call fcn.00617c40
fstp dword [esp + 0x28]
xor eax, eax
fld dword [esp + 0x14]
mov dword [esp + 0x60], edi
fst dword [esp + 0x50]
mov dword [esp + 0x64], eax
fld dword [esp + 0x24]
mov dword [esp + 0x80], edi
fst dword [esp + 0x54]
mov dword [esp + 0x84], eax
fld dword [esp + 0x28]
mov dword [esp + 0xa0], edi
fst dword [esp + 0x58]
mov dword [esp + 0xa4], eax
fld1
fst dword [esp + 0x5c]
fldz
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fld dword [esp + 0x18]
fadd st(5)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x70]
fxch st(4)
fst dword [esp + 0x74]
fxch st(3)
fst dword [esp + 0x78]
fxch st(2)
fst dword [esp + 0x7c]
fxch st(1)
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fxch st(5)
fst dword [esp + 0x90]
fld dword [esp + 0x10]
fadd st(4)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x94]
fxch st(3)
fst dword [esp + 0x98]
fxch st(2)
fst dword [esp + 0x9c]
fxch st(6)
fst dword [esp + 0xa8]
fst dword [esp + 0xac]
fxch st(5)
fst dword [esp + 0xb0]
fxch st(3)
fst dword [esp + 0xb4]
fxch st(2)
fstp dword [esp + 0xb8]
fxch st(5)
mov dword [esp + 0xc0], edi
fstp dword [esp + 0xbc]
mov dword [esp + 0xc4], eax
fxch st(3)
fst dword [esp + 0xc8]
fstp dword [esp + 0xcc]
cmp dword [esi + 0x1c], eax
je 0x5f74b5
fxch st(3)
lea ebx, [esp + 0x54]
fst dword [esp + 0x30]
lea edi, [esp + 0x30]
fstp dword [esp + 0x38]
mov dword [esp + 0x14], 4
fst dword [esp + 0x34]
fstp dword [esp + 0x44]
fst dword [esp + 0x3c]
fstp dword [esp + 0x4c]
fst dword [esp + 0x40]
fstp dword [esp + 0x48]
nop
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 4]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x5f7417
call fcn.006441b7
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x5f742a
mov eax, dword [esi]
jmp 0x5f742c
xor eax, eax
cmp ecx, dword [eax + 0x14]
jne 0x5f7436
call fcn.006441b7
test esi, esi
jne 0x5f74b1
call fcn.006441b7
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x14]
jne 0x5f744d
call fcn.006441b7
mov ecx, dword [esp + 0x1c]
add ecx, 8
mov edx, edi
lea eax, [esp + 0x28]
call fcn.0057e180
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi], ecx
fld dword [edi]
fld qword [0x87d2f0]
mov dword [edi + 4], edx
fsub st(1), st(0)
add edi, 8
fxch st(1)
add ebx, 0x20
sub dword [esp + 0x14], 1
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edi - 8]
fld dword [edi - 4]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [edi - 4]
fstp dword [ebx - 0x20]
fstp dword [ebx - 0x24]
jne 0x5f7400
mov esi, dword [esp + 0x20]
xor eax, eax
jmp 0x5f74bd
mov esi, dword [esi]
jmp 0x5f743f
fstp st(3)
fstp st(0)
fstp st(1)
fstp st(0)
mov edx, dword [esi]
push eax
push eax
mov eax, dword [edx + 0xf4]
mov ecx, esi
call eax
movzx ecx, al
push ecx
mov edi, str.SetTexture_NULL
call fcn.005fb350
add esp, 4
lea edx, [esp + 0x50]
push edx
push 2
push 5
mov ebx, esi
call fcn.005faa80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc