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

Disassembly:
push 0xffffffffffffffff
push 0x5ce0de
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x61a654]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a654]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1d4]
mov esi, ecx
cmp byte [esi + 0x68], 0
mov dword [esp + 0x18], ebp
je 0x575315
mov eax, dword [esi + 4]
cmp byte [eax + 0x40], 0
je 0x575315
fld dword [esi + 0x70]
mov eax, dword [esi + 0x2e8]
mov ebp, dword [eax]
fstp dword [esp + 0x28]
mov edi, dword [esi + 0x2d4]
jmp 0x574ea0
mov ebx, dword [esi + 0x2e8]
mov eax, dword [esi + 0x2d4]
test edi, edi
je 0x574eb4
cmp edi, eax
je 0x574eb9
call fcn.0059ec50
cmp ebp, ebx
je 0x574fd3
test edi, edi
jne 0x574faf
call fcn.0059ec50
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x574eda
call fcn.0059ec50
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
test edi, edi
jne 0x574fb6
call fcn.0059ec50
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x574f01
call fcn.0059ec50
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
test edi, edi
jne 0x574fbd
call fcn.0059ec50
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x574f21
call fcn.0059ec50
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
test edi, edi
jne 0x574fc4
call fcn.0059ec50
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x574f41
call fcn.0059ec50
fld dword [ebp + 0x18]
mov ebx, dword [esi + 0x2f4]
fdiv qword [0x5d5250]
fstp dword [esi + 0x70]
test edi, edi
jne 0x574fcb
call fcn.0059ec50
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x574f68
call fcn.0059ec50
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esi + 0x2f4], edx
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.00574630
mov dword [esi + 0x2f4], ebx
test edi, edi
jne 0x574fcf
call fcn.0059ec50
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x574fa7
call fcn.0059ec50
mov ebp, dword [ebp]
jmp 0x574ea0
mov eax, dword [edi]
jmp 0x574ed0
mov eax, dword [edi]
jmp 0x574ef7
mov eax, dword [edi]
jmp 0x574f17
mov eax, dword [edi]
jmp 0x574f37
mov eax, dword [edi]
jmp 0x574f5e
mov eax, dword [edi]
jmp 0x574f9d
mov eax, dword [esi + 8]
fld dword [esp + 0x28]
fstp dword [esi + 0x70]
test eax, eax
je 0x574ff1
cmp dword [eax + 0x28], 1
je 0x574ffe
test eax, eax
je 0x574ff1
cmp dword [eax + 0x28], 2
je 0x574ffe
cmp byte [esi + 0x298], 0
je 0x575311
lea ecx, [esi + 0x358]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x2c]
push edx
call fcn.00570b70
mov ecx, dword [esi + 0x8c]
add ecx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [esi + 0x88]
push 0x3f
mov dword [esp + 0x24], eax
xor ebx, ebx
lea eax, [esp + 0x139]
push ebx
push eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0x140], 0
call fcn.005a06a0
push 0x4c
lea ecx, [esp + 0x184]
push ebx
push ecx
call fcn.005a06a0
xor eax, eax
add esp, 0x18
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
cmp byte [esi + 0x298], al
je 0x5752de
lea edx, [esp + 0x134]
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
cmp byte [esi + 0x299], bl
je 0x5752b4
mov edi, dword [esi + 0x2c8]
cmp edi, ebx
je 0x5750bd
mov ecx, edi
call fcn.004a0140
push edi
call fcn.0059e6bb
add esp, 4
mov dword [esi + 0x2c8], ebx
push 0x6c
call fcn.0059e72d
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x1cc], ebx
cmp eax, ebx
je 0x5750e1
mov ecx, eax
call fcn.004a81f0
mov edi, eax
jmp 0x5750e3
xor edi, edi
or ebp, 0xffffffff
push 0xc
mov dword [esp + 0x1d0], ebp
call fcn.0059e72d
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x1cc], 1
cmp eax, ebx
je 0x575113
mov ecx, eax
call fcn.00496ff0
jmp 0x575115
xor eax, eax
push edi
mov ecx, eax
mov dword [esp + 0x1d0], ebp
mov dword [esi + 0x2c8], eax
call fcn.004970b0
mov ecx, dword [esi + 0x2c8]
mov eax, dword [esi + 0x2c4]
mov edx, dword [edi]
mov edx, dword [edx + 0x78]
mov dword [esp + 0x174], ecx
mov ecx, dword [esi + 0x2c0]
push eax
push ecx
mov ecx, edi
call edx
push edi
lea ecx, [esp + 0x78]
call fcn.004a2900
mov edi, dword [esi + 0x2b8]
mov ebp, dword [esi + 0x2bc]
mov dword [esp + 0x1cc], 2
cmp edi, ebx
je 0x575297
cmp ebp, ebx
je 0x57520b
mov eax, dword [esi + 0x2d0]
mov ecx, eax
and ecx, 0xff
push ecx
mov edx, eax
mov ecx, eax
sar edx, 8
sar ecx, 0x10
and edx, 0xff
push edx
and ecx, 0xff
sar eax, 0x18
push ecx
and eax, 0xff
push eax
lea ecx, [esp + 0x74]
call fcn.0052b500
push ebp
lea ecx, [esp + 0x78]
call fcn.00490970
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x78]
call fcn.00490980
mov eax, dword [esi + 0x2c4]
mov ecx, dword [esi + 0x2c0]
push ebx
push 0xffffffffffffffff
push ebx
push ebx
mov dword [esp + 0x44], eax
push 0xffffffffffffffff
mov dword [esp + 0x44], ecx
lea eax, [esi + 0x29c]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004a7800
mov eax, dword [esi + 0x2cc]
mov edx, eax
and edx, 0xff
push edx
mov ecx, eax
mov edx, eax
sar ecx, 8
and ecx, 0xff
push ecx
sar edx, 0x10
and edx, 0xff
sar eax, 0x18
push edx
and eax, 0xff
push eax
lea ecx, [esp + 0x64]
call fcn.0052b500
push edi
lea ecx, [esp + 0x78]
call fcn.00490970
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x78]
call fcn.00490980
mov ecx, dword [esi + 0x2c0]
mov eax, dword [esi + 0x2c4]
push ebx
push 0xffffffffffffffff
push ebx
push ebx
mov dword [esp + 0x40], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x29c]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x90]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], eax
call fcn.004a7800
lea ecx, [esp + 0x74]
mov byte [esi + 0x299], 0
mov dword [esp + 0x1cc], 0xffffffff
call fcn.004a2a10
jmp 0x5752c1
mov eax, dword [esi + 0x2c8]
mov dword [esp + 0x174], eax
mov eax, dword [esi + 0x2c0]
mov ecx, dword [esi + 0x2c4]
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jmp 0x5752f6
mov ecx, dword [esi + 8]
call fcn.00595c00
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], eax
call fcn.00595bc0
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.00574630
mov ebp, dword [esp + 0x18]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x5753ad
push ebp
push 0x106
call fcn.0056b670
mov edx, dword [str.render_ps]
mov eax, edx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
lea edi, [eax + 1]
jmp 0x575350
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x575350
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00401590
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x1cc], 3
mov edi, 0x10
test ecx, ecx
je 0x57538f
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x575389
lea eax, [esp + 0x3c]
push eax
call fcn.0056b0c0
mov dword [esp + 0x1cc], 0xffffffff
cmp dword [esp + 0x50], edi
jb 0x5753ad
mov eax, dword [esp + 0x3c]
push eax
call fcn.0059e6bb
add esp, 4
mov ecx, dword [0x658788]
cmp byte [ecx + 2], 0
je 0x575453
mov edi, dword [str.checkmark]
mov eax, edi
lea ecx, [esi + 0x304]
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5753d0
mov edx, dword [ecx + 0x14]
sub eax, ebx
push eax
push edi
push edx
push 0
call fcn.00403f20
test eax, eax
jne 0x575453
lea eax, [esi + 0x358]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 4]
call fcn.00570b70
push 0
push 0
push 0xff
lea ecx, [esp + 0x60]
call fcn.00484d70
push eax
mov ecx, ebp
call fcn.00490980
mov edx, dword [esi + 0x8c]
add edx, dword [esp + 0x24]
mov eax, dword [esi + 0x88]
add eax, dword [esp + 0x20]
mov ecx, dword [0x620598]
push edx
push eax
mov eax, dword [ecx + 0xc4]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ecx + 0xc0]
cdq
sub eax, edx
sar eax, 1
push eax
mov ecx, ebp
call fcn.0049c480
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.0059e619
add esp, 0x1bc
ret 4