Function at 0x1005c430
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ce85
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100f1340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x60], esi
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov byte [ebp - 0x44], cl
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x60], eax
cmp edx, eax
je 0x1005c714
mov eax, dword [ebp - 0x34]
lea edi, [edx + 0x44]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x34], eax
mov eax, dword [edi - 0x14]
lea esi, [edi - 0x18]
sub eax, dword [esi]
add dword [ebp - 0x34], eax
push edx
adc dword [ebp - 0x30], 0
cmp ebx, ecx
je 0x1005c4d5
mov ecx, ebx
call fcn.10051430
sub ebx, 0xffffff80
mov dword [ebp - 0x4c], ebx
jmp 0x1005c4e7
push ebx
lea ecx, [ebp - 0x50]
call fcn.10056550
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 0x44], 0
je 0x1005c549
push edi
lea ecx, [ebp - 0x28]
call fcn.10024420
lea eax, [ebp - 0x28]
push 0x10090eb8
push eax
call fcn.10056160
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 0x29], al
cmp ecx, 0xf
jbe 0x1005c541
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c534
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c700
push ecx
push edx
call fcn.1004bd96
mov al, byte [ebp - 0x29]
add esp, 8
test al, al
je 0x1005c706
push edi
lea ecx, [ebp - 0x28]
call fcn.10024420
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.10050ec0
mov eax, dword [edi - 0x14]
sub eax, dword [esi]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x6c]
cmp eax, 1
jne 0x1005c574
cmp byte [esi], 0xcc
jmp 0x1005c582
cmp eax, 2
jb 0x1005c584
cmp byte [esi], 0xf3
jne 0x1005c584
cmp byte [esi + 1], 0xc3
je 0x1005c5d5
lea eax, [ebp - 0x28]
push 0x10090c98
push eax
call fcn.10056160
add esp, 8
test al, al
jne 0x1005c5d5
lea eax, [ebp - 0x28]
push 0x10090ea4
push eax
call fcn.10056160
add esp, 8
test al, al
jne 0x1005c5d5
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 4
push str.iret
push 0
push dword [ebp - 0x18]
cmova eax, edi
push eax
call fcn.100569d0
add esp, 0x14
mov byte [ebp - 0x29], 0
test eax, eax
jne 0x1005c5d9
mov byte [ebp - 0x29], 1
test esi, esi
je 0x1005c622
mov ecx, dword [ebp - 0x64]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1005c600
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c700
push ecx
push esi
call fcn.1004bd96
mov edi, dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 0xf
jbe 0x1005c659
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1005c64f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c700
push ecx
push edi
call fcn.1004bd96
add esp, 8
mov eax, dword [ebp - 0x44]
mov ecx, 1
cmp byte [ebp - 0x29], 0
mov edx, dword [ebp - 0x30]
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x44], eax
cmp edx, dword [ebp + 0x14]
ja 0x1005c709
mov eax, dword [ebp - 0x34]
jb 0x1005c684
cmp eax, dword [ebp + 0x10]
jae 0x1005c6a3
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
sub edx, 0xffffff80
sub edi, 0xffffff80
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], edi
cmp edx, dword [ebp - 0x60]
je 0x1005c6ab
mov ecx, dword [ebp - 0x3c]
jmp 0x1005c4b2
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x40]
jmp 0x1005c71a
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x40]
mov byte [eax + 0xc], 0
test edi, edi
je 0x1005c74e
mov esi, edi
cmp esi, ebx
je 0x1005c6de
nop
mov ecx, esi
call fcn.10051c20
sub esi, 0xffffff80
cmp esi, ebx
jne 0x1005c6d0
mov ecx, dword [ebp - 0x3c]
mov eax, edi
sub ecx, edi
and ecx, 0xffffff80
cmp ecx, 0x1000
jb 0x1005c741
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005c741
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x40]
jmp 0x1005c71a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x3c]
cmp edx, dword [ebp + 0x14]
jb 0x1005c6b9
ja 0x1005c731
cmp eax, dword [ebp + 0x10]
jb 0x1005c6b9
mov dword [esi], edi
mov eax, esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 1
jmp 0x1005c74e
push ecx
push edi
call fcn.1004bd96
mov eax, dword [ebp - 0x40]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004c23f
mov esp, ebp
pop ebp
ret