Function at 0x100583f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ba0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10101040]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x44]
push eax
call fcn.1004ab50
add esi, 0x2c
mov dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x34]
call fcn.10056fe0
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
cmp eax, 1
jne 0x10058452
cmp byte [ecx], 0xcc
jmp 0x10058460
cmp eax, 2
jb 0x10058466
cmp byte [ecx], 0xf3
jne 0x10058466
cmp byte [ecx + 1], 0xc3
je 0x10058633
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmp ebx, 0x10
cmovae ecx, esi
cmp edi, 3
jne 0x100584e2
mov esi, edi
mov edx, 0x1008d3dc
sub esi, 4
jb 0x10058497
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1005849c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10058486
cmp esi, 0xfffffffc
je 0x100584d0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100584c9
cmp esi, 0xfffffffd
je 0x100584d0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100584c9
cmp esi, 0xfffffffe
je 0x100584d0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100584c9
cmp esi, 0xffffffff
je 0x100584d0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100584d0
sbb eax, eax
or eax, 1
jmp 0x100584d2
xor eax, eax
mov esi, dword [ebp - 0x28]
test eax, eax
jne 0x100584e2
cmp byte [ebp + 0xc], al
je 0x10058633
cmp ebx, 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, esi
cmp edi, 3
jne 0x10058557
mov esi, edi
mov edx, 0x1008d5c4
sub esi, 4
jb 0x10058511
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10058516
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10058500
cmp esi, 0xfffffffc
je 0x1005854a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10058543
cmp esi, 0xfffffffd
je 0x1005854a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10058543
cmp esi, 0xfffffffe
je 0x1005854a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10058543
cmp esi, 0xffffffff
je 0x1005854a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1005854a
sbb eax, eax
or eax, 1
jmp 0x1005854c
xor eax, eax
mov esi, dword [ebp - 0x28]
test eax, eax
je 0x10058633
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
cmovae ebx, esi
cmp edi, 4
jb 0x100585d3
lea eax, [edi - 3]
add eax, ebx
sub eax, ebx
push eax
push 0x69
push ebx
call fcn.10067570
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100585d0
nop
mov ecx, esi
mov edx, str.iret
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x100585a9
cmp al, byte [edx]
jne 0x100585ad
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100585ad
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100585ad
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100585ad
xor eax, eax
jmp 0x100585b2
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005862c
lea eax, [edi - 3]
inc esi
add eax, ebx
sub eax, esi
push eax
push 0x69
push esi
call fcn.10067570
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10058580
mov esi, dword [ebp - 0x28]
xor bl, bl
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x10058605
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x100585fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005865f
push ecx
push edx
call fcn.10063cf9
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10058641
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10058637
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005865f
jmp 0x10058637
sub esi, ebx
mov esi, dword [ebp - 0x28]
jne 0x100585d3
mov bl, 1
jmp 0x100585d5
push ecx
push esi
call fcn.10063cf9
add esp, 8
mov al, bl
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.1006399c
mov esp, ebp
pop ebp
ret
call fcn.10068f4f
int3