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

Disassembly:
sub esp, 0x130
mov eax, dword [0x8a3940]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x138]
push esi
xor esi, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
push edi
mov edi, dword [esp + 0x13c]
test eax, eax
jne 0x5c6151
lea eax, [esp + 0x34]
push eax
call fcn.005c6b90
add esp, 4
jmp 0x5c6174
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x44], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x144]
push 5
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.005c6ac0
add esp, 0xc
mov dword [esp + 0x64], eax
test eax, eax
jne 0x5c61ae
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0059bb21
add esp, 0x130
ret
push ebx
push ebp
push eax
lea eax, [esp + 0x40]
push eax
call fcn.005c5150
mov ebx, eax
mov ebp, edx
mov ecx, ebx
add esp, 8
or ecx, ebp
je 0x5c6334
push 0
push ebp
push ebx
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
mov dword [esp + 0x134], 1
push eax
call fcn.005c6ae0
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
cmovne esi, edi
push eax
call fcn.005c53f0
test eax, eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x64]
cmovne esi, edi
push eax
call fcn.005c5510
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0x70]
cmovne esi, edi
push eax
call fcn.005c57d0
test eax, eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x7c]
cmovne esi, edi
push eax
call fcn.005c57d0
add esp, 0x44
test eax, eax
lea eax, [esp + 0x14]
cmovne esi, edi
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
call fcn.005c53f0
test eax, eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x50]
cmovne esi, edi
push eax
call fcn.005c53f0
test eax, eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x88]
lea eax, [esp + 0x5c]
cmovne esi, edi
push eax
call fcn.005c5510
test eax, eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x94]
lea eax, [esp + 0x68]
cmovne esi, edi
push eax
call fcn.005c5510
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x18]
cmovne esi, edi
cmp eax, dword [esp + 0x74]
jne 0x5c62ee
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x78]
jne 0x5c62ee
cmp dword [esp + 0x20], 0
jne 0x5c62ee
cmp dword [esp + 0x14], 0
je 0x5c62f3
mov esi, 0xffffff99
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
call fcn.005c5510
test eax, eax
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x50]
cmovne esi, edi
push eax
call fcn.005c5510
add esp, 0x18
mov dword [esp + 0x7c], 0
jmp 0x5c6689
mov ebx, dword [esp + 0x6c]
mov eax, 0xffff
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x28], ebx
push 2
push eax
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x48]
push ebx
push eax
movlpd qword [esp + 0x2c], xmm0
call fcn.005c6ae0
add esp, 0x14
test eax, eax
je 0x5c6383
xorps xmm0, xmm0
or esi, 0xffffffff
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x5c652f
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.005c6b30
mov ecx, edx
mov dword [esp + 0x34], eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
ja 0x5c63b0
jb 0x5c63a8
cmp eax, 0xffff
jae 0x5c63b0
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
push 0x404
call fcn.004a67c0
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x5c63e0
xorps xmm0, xmm0
or esi, 0xffffffff
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x5c652f
mov ecx, dword [esp + 0x20]
xor edi, edi
mov esi, 4
cmp edi, ecx
ja 0x5c650e
mov eax, dword [esp + 0x10]
jb 0x5c6401
cmp esi, eax
jae 0x5c650e
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
nop dword [eax]
add esi, 0x400
adc edi, 0
cmp edi, ecx
jb 0x5c6427
ja 0x5c6423
cmp esi, eax
jbe 0x5c6427
mov esi, eax
mov edi, ecx
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov edx, dword [esp + 0x30]
sub ecx, esi
mov dword [esp + 0x38], ecx
sbb edx, edi
mov dword [esp + 0x18], edx
test edi, edi
jb 0x5c6455
ja 0x5c644b
cmp esi, 0x404
jbe 0x5c6455
mov dword [esp + 0x14], 0x404
jmp 0x5c645b
sub eax, ecx
mov dword [esp + 0x14], eax
push 0
push edx
push ecx
push dword [esp + 0x34]
lea eax, [esp + 0x4c]
push eax
call fcn.005c6ae0
add esp, 0x14
test eax, eax
jne 0x5c6516
push dword [esp + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x64]
call dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp eax, ecx
jne 0x5c6516
lea eax, [ecx - 3]
test eax, eax
jle 0x5c64f2
mov ecx, dword [esp + 0x24]
add ecx, 3
add ecx, eax
dec ecx
mov dword [esp + 0x34], eax
mov edx, eax
mov dword [esp + 0x14], ecx
dec eax
cmp byte [ecx - 3], 0x50
jne 0x5c64d2
mov ecx, dword [esp + 0x24]
cmp byte [edx + ecx], 0x4b
mov ecx, dword [esp + 0x14]
jne 0x5c64d2
cmp byte [ecx - 1], 5
jne 0x5c64d2
cmp byte [ecx], 6
je 0x5c64d8
test eax, eax
jg 0x5c64a7
jmp 0x5c64f2
mov ebx, dword [esp + 0x34]
xor ebp, ebp
add ebx, dword [esp + 0x38]
adc ebp, dword [esp + 0x18]
add ebx, 0xffffffff
mov eax, ebx
adc ebp, 0xffffffff
or eax, ebp
jne 0x5c6516
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
cmp edi, ecx
jb 0x5c6410
ja 0x5c6516
cmp esi, eax
jb 0x5c6410
jmp 0x5c6516
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.004a6790
mov eax, ebx
add esp, 4
or eax, ebp
jne 0x5c652d
or esi, 0xffffffff
jmp 0x5c652f
xor esi, esi
push 0
push ebp
push ebx
push dword [esp + 0x78]
lea eax, [esp + 0x4c]
mov dword [esp + 0x134], 0
push eax
call fcn.005c6ae0
or edi, 0xffffffff
test eax, eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x58]
cmovne esi, edi
push eax
call fcn.005c53f0
test eax, eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x64]
cmovne esi, edi
push eax
call fcn.005c57d0
test eax, eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0x70]
cmovne esi, edi
push eax
call fcn.005c57d0
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x7c]
cmovne esi, edi
push eax
call fcn.005c57d0
add esp, 0x44
mov dword [esp + 0x78], 0
test eax, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x10]
cmovne esi, edi
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
call fcn.005c57d0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
cmovne esi, edi
xor ecx, ecx
cmp eax, dword [esp + 0x74]
jne 0x5c660c
cmp ecx, dword [esp + 0x78]
jne 0x5c660c
cmp dword [esp + 0x20], ecx
jne 0x5c660c
cmp dword [esp + 0x14], ecx
je 0x5c6611
mov esi, 0xffffff99
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x44]
push eax
call fcn.005c53f0
test eax, eax
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb8], eax
cmovne esi, edi
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x50]
push eax
call fcn.005c53f0
test eax, eax
mov dword [esp + 0xd0], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xcc], eax
cmovne esi, edi
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x88]
lea eax, [esp + 0x5c]
push eax
call fcn.005c57d0
add esp, 0x24
mov edx, dword [esp + 0xb4]
test eax, eax
mov eax, dword [esp + 0xb8]
mov ecx, edx
cmovne esi, edi
mov edi, dword [esp + 0xac]
add ecx, edi
adc eax, dword [esp + 0xb0]
cmp ebp, eax
jb 0x5c6729
ja 0x5c66b8
cmp ebx, ecx
jb 0x5c6729
test esi, esi
jne 0x5c6729
mov ecx, ebx
mov dword [esp + 0xa4], ebx
sub ecx, edx
mov dword [esp + 0xa8], ebp
mov eax, ebp
mov dword [esp + 0x11c], esi
sbb eax, dword [esp + 0xb8]
sub ecx, edi
push 0x100
sbb eax, dword [esp + 0xb4]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x124], esi
call fcn.004a67c0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5c6725
mov ecx, 0x40
lea esi, [esp + 0x3c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.005c5b60
add esp, 4
mov eax, ebx
jmp 0x5c673a
push dword [esp + 0x6c]
push dword [esp + 0x5c]
call dword [esp + 0x58]
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0059bb21
add esp, 0x130
ret