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

Disassembly:
sub esp, 0xa14
push ebx
push ebp
mov ebp, dword [esp + 0xa20]
push esi
push edi
mov edx, dword [ebp]
test dl, 2
mov dword [esp + 0x1c], edx
je 0x5744c2
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x5741eb
push ebx
call fcn.0058dcb0
add esp, 4
test eax, eax
jne 0x574192
push ebx
call fcn.0058e070
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xa8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
mov esi, edx
and esi, 0x2000
mov dword [esp + 0x28], esi
je 0x574151
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x574151
mov edx, dword [0x66885c]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x66885c]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x66885c]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x66885c]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x44], ecx
lea ebx, [eax + 0x4c]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x264]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x4c], edx
jle 0x5749f0
add ecx, 8
mov dword [esp + 0x18], ecx
jmp 0x57428f
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x5740c9
mov ecx, 0x10
lea esi, [esp + 0xa4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xa4]
push ecx
push edx
push eax
call fcn.0058ed70
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x5741ae
jmp 0x5740c9
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xcc], 0x3f800000
or eax, 0x20003
mov dword [esp + 0xb8], 0x3f800000
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xb0], eax
jmp 0x5740cd
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
cmp edx, fcn.0055c040
jne 0x5743bc
fld dword [ebx + 8]
fld dword [ebx + 0xc]
fld st(1)
fmul st(2)
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
fstp dword [esp + 0x38]
fld st(0)
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x30]
fld st(0)
fmul st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x20]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fld dword [esp + 0x40]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fsubr dword [0x6222d4]
fstp dword [esp + 0x54]
fld dword [esp + 0x34]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x30]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x40]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x6222d4]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x2c]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x3c]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x6222d4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x5743c7
lea ecx, [esp + 0x54]
push ebx
push ecx
call edx
add esp, 8
lea edx, [esp + 0xa4]
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x168]
push eax
push ecx
call fcn.0058ed70
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [edx + 4]
test eax, eax
je 0x57443a
mov ecx, dword [esp + 0x1c]
test ch, 0x10
je 0x574419
lea edi, [eax + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x57441d
push eax
call fcn.0058dff0
add esp, 4
jmp 0x57443a
test esi, esi
je 0x57443a
lea edi, [eax + 0x50]
mov ecx, 0x10
lea esi, [esp + 0x164]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 3]
and cl, 0xfb
or cl, 8
mov byte [eax + 3], cl
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
and eax, 3
sub eax, 0
je 0x57446b
dec eax
je 0x5744b5
dec eax
jne 0x574480
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, 0x10
lea esi, [esp + 0xa4]
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
lea esi, [esp + 0x164]
lea edi, [esp + 0xa4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 4]
add ebx, edi
add esi, 0x10
inc eax
mov dword [esp + 0x18], esi
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x574287
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov esi, dword [esp + 0x14]
sub esi, 0x40
mov dword [esp + 0x14], esi
jmp 0x574472
test dl, 1
mov esi, 0x20003
je 0x5744fb
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
je 0x5744fb
mov ecx, dword [ebp + 0x18]
shl eax, 6
add eax, dword [ecx + 8]
test dh, 0x20
mov dword [esp + 0x10], eax
je 0x5745f9
test dh, 0x40
je 0x5745f9
mov ecx, dword [ecx + 0x14]
jmp 0x5745b8
test dh, 0x40
je 0x5745aa
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0x124]
or ecx, esi
mov dword [esp + 0x14c], 0x3f800000
test dh, 0x20
mov dword [esp + 0x138], 0x3f800000
mov dword [esp + 0x124], 0x3f800000
mov dword [esp + 0x134], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x130], ecx
mov dword [esp + 0x10], eax
je 0x5745f9
jmp 0x5745b5
lea eax, [esp + 0xe4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x574723
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x574723
push ebx
call fcn.0058dcb0
add esp, 4
test eax, eax
jne 0x5746ca
push ebx
call fcn.0058e070
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xe8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
and edx, 0x2000
mov dword [esp + 0x44], edx
je 0x57467b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x57467b
mov edx, dword [0x66885c]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x66885c]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x66885c]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x66885c]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], 0
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x94], edx
lea edi, [eax + 0x4c]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x1a8]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edi
jle 0x5749f0
add edx, 8
mov dword [esp + 0x20], edx
jmp 0x5747c0
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x5745f5
mov ecx, 0x10
lea esi, [esp + 0xe4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xe4]
push ecx
push edx
push eax
call fcn.0058ed70
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x5746e6
jmp 0x5745f5
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10c], 0x3f800000
or eax, esi
mov dword [esp + 0xf8], 0x3f800000
mov dword [esp + 0xe4], 0x3f800000
mov dword [esp + 0xf4], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xf0], eax
jmp 0x5745f9
mov ecx, dword [esp + 0x50]
cmp ecx, fcn.0055c040
jne 0x5748ed
fld dword [edi + 8]
fld dword [edi + 0xc]
fld st(1)
fmul st(2)
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x2c]
fld st(0)
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x3c]
fld st(0)
fmul st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x28]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x34]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fsubr dword [0x6222d4]
fstp dword [esp + 0x54]
fld dword [esp + 0x40]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x40]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x6222d4]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x38]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x30]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x6222d4]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
jmp 0x5748f8
lea edx, [esp + 0x54]
push edi
push edx
call ecx
add esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push esi
call fcn.0058ed70
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x574994
mov eax, dword [esp + 0x1c]
test ah, 0x10
je 0x574948
lea edi, [ebx + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x574952
push ebx
call fcn.0058dff0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x574994
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x574994
jmp 0x57495a
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
test ah, 0x40
je 0x574976
lea eax, [esp + 0xe4]
lea ecx, [ebx + 0x50]
push eax
push esi
push ecx
call fcn.0058ed70
add esp, 0xc
jmp 0x574988
lea edi, [ebx + 0x50]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov dl, byte [ebx + 3]
and dl, 0xfb
or dl, 8
mov byte [ebx + 3], dl
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
and eax, 3
sub eax, 0
je 0x5749b9
dec eax
je 0x574a00
dec eax
jne 0x5749bd
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
add edi, ecx
mov ecx, dword [ebp + 4]
add esi, 0x40
add ebx, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], eax
jl 0x5747bc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov eax, dword [esp + 0x18]
sub eax, 4
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov dword [esp + 0x10], edx
jmp 0x5749bd