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

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [0x10114fd8]
push edi
cmp byte [ebp + 0x67], 0
mov dword [esp + 0x40], esi
je 0x1005c25f
lea ebx, [esi + 0x46a0]
push 5
pop ecx
mov esi, ebx
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.1006d3a4
pop ecx
push 5
pop ecx
lea esi, [esp + 0x60]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 0x3e40]
mov dword [esp + 0x28], eax
cmp byte [eax + 0xaf], 0
jne 0x1005c2be
push dword [esp + 0xbc]
mov eax, dword [esp + 0xb4]
push eax
push ebp
call fcn.1006d363
mov ecx, dword [esp + 0xc0]
add esp, 0xc
mov dword [esp + 0x38], ecx
mov edi, eax
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x1005c2cb
cmp byte [ecx], 0
jne 0x1005c2cb
push 8
push 0
lea eax, [esp + 0x68]
xorps xmm0, xmm0
push edi
push eax
movups xmmword [esp + 0x70], xmm0
call fcn.100131e8
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
mov eax, dword [esp + 0xb8]
mov edx, 0x100000
mov dword [esp + 0x20], eax
test edx, eax
je 0x1005c2e6
and dword [esp + 0x38], 0
jmp 0x1005c2f0
test ecx, ecx
jne 0x1005c2f0
or eax, edx
mov dword [esp + 0x20], eax
push edi
push ebp
call fcn.1005bf35
mov ebx, eax
mov byte [esp + 0x1a], 0
mov dword [esp + 0x7c], 1
pop ecx
pop ecx
test ebx, ebx
jne 0x1005c335
lea ecx, [esp + 0x7c]
call fcn.1006c740
push eax
mov ecx, ebp
call fcn.1006e180
imul ecx, dword [ebp], 0x2c
xor eax, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffd4
add ebx, ecx
inc eax
mov byte [esp + 0x12], al
mov dword [ebx], edi
mov byte [ebp + 0x69], al
mov eax, ebx
sub eax, dword [ebp + 8]
cdq
push 0x2c
pop ecx
idiv ecx
xor ecx, ecx
mov word [ebp + 0x6c], ax
inc ecx
mov eax, dword [esp + 0x20]
and eax, ecx
cmp dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
jne 0x1005c365
test eax, eax
jne 0x1005c365
xor al, al
and dword [esp + 0x1c], 0
jmp 0x1005c367
mov al, cl
push eax
push dword [esp + 0xb4]
lea eax, [esp + 0x68]
push eax
call fcn.1005c998
xor eax, eax
mov dword [ebx + 0x1c], 0xbf800000
inc eax
add esp, 0xc
test byte [esi + 0x46a0], al
je 0x1005c39d
movss xmm1, dword [esi + 0x46a4]
movss dword [ebx + 0x1c], xmm1
jmp 0x1005c3a3
movss xmm1, dword [esp + 0x60]
cmp byte [esp + 0x12], 0
movss xmm5, dword [0x100bd4f4]
je 0x1005c3be
movaps xmm0, xmm1
maxss xmm0, xmm5
movss dword [ebx + 0x14], xmm0
movss dword [ebx + 0x18], xmm1
movzx ecx, word [ebp + 0x6a]
lea eax, [ecx + 1]
mov word [ebp + 0x6a], ax
mov word [ebx + 0x24], cx
xor ecx, ecx
mov eax, dword [ebp + 0x24]
inc ecx
mov edx, dword [esi + 0x3de0]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x15
and al, cl
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 8]
inc eax
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x44], eax
lea eax, [ebx + 4]
je 0x1005c413
mov dword [esp + 0x1c], eax
test byte [eax], cl
jne 0x1005c413
mov byte [esp + 0x15], cl
jmp 0x1005c41c
mov byte [esp + 0x15], 0
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edi, dword [esp + 0x1c]
shr eax, 0x15
and eax, 0xffffff01
mov dword [ebx + 8], edx
cmp dword [esp + 0xbc], 0
mov dword [edi], ecx
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jne 0x1005c498
mov ecx, dword [ebp + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0xb0]
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x3c], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1005c467
sub edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [ebp + 0x84]
call fcn.1000f31d
movss xmm5, dword [0x100bd4f4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
test al, al
jne 0x1005c4ce
cmp dword [esp + 0x44], edx
jge 0x1005c4bf
test byte [ebp + 0xc], 2
je 0x1005c4bf
cmp dword [ebp + 0x18], 0
jne 0x1005c4bf
cmp dword [esp + 0x18], edx
jge 0x1005c4ba
cmp dword [ebp + 0x14], 0
jne 0x1005c4bf
mov eax, dword [ebx]
mov dword [ebp + 0x18], eax
test cl, 2
je 0x1005c4ce
cmp dword [ebp + 0x14], edi
je 0x1005c4ce
mov eax, dword [ebx]
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x1c], edi
sete al
mov dword [esp + 0x30], eax
mov byte [esp + 0x5c], al
jne 0x1005c4e4
xor ecx, ecx
inc ecx
mov byte [ebp + 0x68], cl
mov ecx, dword [esp + 0x18]
test al, al
jne 0x1005c510
cmp dword [ebp + 0x14], 0
jne 0x1005c510
cmp ecx, edx
jge 0x1005c510
cmp dword [ebp], 1
jne 0x1005c510
test byte [ebp + 0xc], 2
movzx eax, al
cmove eax, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov byte [esp + 0x5c], al
cmp dword [esp + 0x44], edx
jge 0x1005c54b
cmp ecx, edx
jge 0x1005c521
cmp byte [esp + 0x12], 0
je 0x1005c54b
push 8
push 0
lea eax, [esp + 0x68]
xorps xmm0, xmm0
push edi
push eax
movups xmmword [esp + 0x70], xmm0
call fcn.100131e8
add esp, 0x10
cmp byte [esp + 0x24], 0
jne 0x1005c2be
jmp 0x1005c6d7
cmp dword [ebp + 0x14], edi
jne 0x1005c559
mov eax, dword [esi + 0x3de0]
mov dword [ebx + 0xc], eax
mov edi, dword [esp + 0x28]
movss xmm3, dword [ebx + 0x14]
movss xmm1, dword [ebx + 0x10]
movss xmm2, dword [ebp + 0x2c]
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xf4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
and ecx, 0xc0
jne 0x1005c59e
subss xmm1, dword [ebp + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm4, xmm2
addss xmm1, dword [ebp + 0x28]
movss dword [edi + 0xf0], xmm1
movaps xmm0, xmm1
movss dword [edi + 0xf4], xmm2
addss xmm0, xmm3
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm2
addss xmm4, dword [esp + 0x64]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm4
test ecx, ecx
jne 0x1005c64b
movss xmm3, dword [ebp + 0x58]
comiss xmm3, xmm1
ja 0x1005c5ef
comiss xmm0, dword [ebp + 0x5c]
jbe 0x1005c64b
movss xmm0, dword [ebp + 0x5c]
maxss xmm3, xmm1
xor eax, eax
movss dword [esp + 0x60], xmm0
inc eax
movss dword [esp + 0x64], xmm4
push eax
mov byte [esp + 0x16], al
subss xmm2, xmm5
lea eax, [esp + 0x64]
movss dword [esp + 0x78], xmm3
push eax
lea eax, [esp + 0x7c]
push eax
movss dword [esp + 0x84], xmm2
call fcn.1000cc42
movss xmm4, dword [esp + 0x64]
add esp, 0xc
movss xmm0, dword [esp + 0x54]
movss xmm2, dword [esp + 0x50]
movss xmm1, dword [esp + 0x4c]
jmp 0x1005c650
mov byte [esp + 0x12], 0
mov eax, dword [esp + 0x40]
subss xmm0, xmm1
mov esi, dword [edi + 0x108]
subss xmm4, xmm2
mov edi, dword [edi + 0x10c]
push ecx
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 0x37e0]
lea eax, [esp + 0x64]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x6c], xmm4
call fcn.10013097
mov eax, dword [esp + 0x30]
push 0
push 0
mov dword [eax + 0x108], esi
mov esi, eax
lea eax, [esp + 0x5c]
mov dword [esi + 0x10c], edi
mov edi, dword [esp + 0x3c]
push edi
push eax
call fcn.100131e8
add esp, 0x18
test al, al
jne 0x1005c6e0
cmp byte [esp + 0x12], al
je 0x1005c6c3
call fcn.1000ccb7
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xf0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xf4], ecx
mov al, byte [esp + 0x30]
jmp 0x1005c2c0
mov eax, dword [esp + 0x24]
mov edx, 0x1000
mov esi, dword [esp + 0x40]
movzx ecx, al
mov eax, 0x1200
inc ecx
shl ecx, 4
cmp byte [esi + 0x4944], 0
cmove eax, edx
or ecx, eax
lea eax, [esp + 0x13]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x58]
push edi
push eax
call fcn.1005eec2
add esp, 0x14
mov byte [esp + 0x17], al
test al, al
je 0x1005c732
cmp byte [esp + 0x24], 0
jne 0x1005c732
mov ecx, dword [ebx]
mov dword [ebp + 0x18], ecx
cmp dword [esi + 0x3e8c], edi
je 0x1005c73f
call fcn.1000d230
cmp byte [esp + 0x13], 0
je 0x1005c7ab
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x34]
jl 0x1005c7ab
push ecx
mov dword [esp], 0xbf800000
push 0
call fcn.1000dd5b
pop ecx
pop ecx
xor ecx, ecx
inc ecx
test al, al
je 0x1005c7ae
cmp byte [esi + 0x4944], 0
jne 0x1005c7ae
test byte [ebp + 0xc], cl
je 0x1005c7ae
movss xmm2, dword [esi + 0xb8]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1005c7f6
movss xmm0, dword [esp + 0x4c]
comiss xmm0, dword [esi + 0xdc0]
jbe 0x1005c7f6
push dword [esi + 0xdc4]
push dword [esi + 0xdc0]
push ebx
push ebp
call fcn.1005c04d
add esp, 0x10
xor ecx, ecx
inc ecx
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x264]
mov dword [esp + 0x34], eax
jne 0x1005c80c
cmp byte [esp + 0x14], 0
jne 0x1005c80c
mov edx, dword [esp + 0x48]
movzx eax, dl
xor eax, ecx
mov dword [esp + 0x48], 0x21
push 0x24
test dl, dl
pop ecx
cmovne ecx, dword [esp + 0x48]
lea eax, [eax*2 + 0x23]
cmp byte [esp + 0x30], 0
cmovne ecx, eax
jmp 0x1005c80f
comiss xmm2, xmm1
jbe 0x1005c7ae
movss xmm0, dword [esi + 0xdc0]
comiss xmm0, dword [esp + 0x54]
jbe 0x1005c7ae
jmp 0x1005c795
push 0x22
pop ecx
push ecx
mov dword [esp], 0x3f800000
push ecx
call fcn.1000b657
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x48]
call fcn.1005ca3c
xor eax, eax
inc eax
push eax
lea eax, [esp + 0x68]
push edi
push eax
call fcn.1001610a
push 0x20
call fcn.1000cee8
add esp, 0x28
test al, al
je 0x1005c878
xor eax, eax
inc eax
push 0
push eax
call fcn.1000db55
pop ecx
pop ecx
test al, al
jne 0x1005c86c
xor eax, eax
inc eax
push eax
call fcn.1000db6a
pop ecx
test al, al
je 0x1005c878
cmp byte [esp + 0x24], 0
jne 0x1005c878
mov eax, dword [ebx]
mov dword [ebp + 0x18], eax
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
or edi, 4
test al, 8
cmove edi, dword [esp + 0x20]
cmp dword [esp + 0x38], 0
je 0x1005c8a5
push dword [esp + 0x2c]
push 0
push str.CLOSE
call fcn.10013017
add esp, 0xc
jmp 0x1005c8a7
xor eax, eax
lea ecx, [esp + 0x16]
push ecx
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x64]
push eax
push dword [esp + 0x3c]
mov eax, edi
push dword [esp + 0xc4]
and eax, 0xfffffffe
cmp byte [esp + 0x2d], 0
push dword [ebp + 0x78]
cmovne edi, eax
lea eax, [esp + 0x68]
push dword [ebp + 0x74]
push edi
push eax
push dword [esp + 0x5c]
call fcn.1005ccca
add esp, 0x2c
cmp byte [esp + 0x14], 0
je 0x1005c901
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1005c901
push ebx
push ebp
mov byte [eax], 0
call fcn.1005bfee
pop ecx
pop ecx
cmp byte [esp + 0x12], 0
je 0x1005c90d
call fcn.1000ccb7
cmp byte [esp + 0x16], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xf4], ecx
je 0x1005c97f
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x3e78], eax
jne 0x1005c97f
cmp byte [esp + 0x13], 0
jne 0x1005c97f
test byte [ebp + 0xc], 0x20
jne 0x1005c97f
mov eax, dword [esp + 0x1c]
test byte [eax], 0x10
jne 0x1005c97f
push 0x800
call fcn.1000cee8
pop ecx
test al, al
je 0x1005c97f
mov ebx, dword [esp + 0xb0]
push ebx
push 0
push ebx
call fcn.1001634b
pop ecx
pop ecx
sub eax, ebx
push eax
push str._.s
call fcn.1000bf10
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x24], 0
movzx ecx, byte [esp + 0x17]
movzx eax, al
cmovne eax, ecx
jmp 0x1005c2c0