Function at 0x5b87c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x5b87d0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x5b90df
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
call fcn.00638c2c
test al, al
je 0x5b8811
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00499190
jmp 0x5b90b1
mov byte [ebp - 0x22], 0
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.00403c64
mov dword [ebp - 0x20], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x50]
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.0049975c
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040ae94
push dword [ebp - 0x4c]
push 0x5b90f8
push dword [ebp - 4]
push 0x5b9110
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404e74
mov eax, dword [ebp - 0x30]
call fcn.0040ab4c
test al, al
je 0x5b90b1
mov ecx, dword [ebp - 0x20]
mov edx, 6
mov eax, dword [ebp - 0x30]
call fcn.005935bc
xor ecx, ecx
mov edx, 0x10
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.00420704
xor ecx, ecx
mov edx, 0x20
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.00403c64
mov dword [ebp - 0x18], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
sub eax, 0x20
sbb edx, 0
push edx
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call fcn.00420794
mov eax, dword [ebp - 0x20]
call fcn.00403c94
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b9120
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
xor eax, eax
push ebp
push 0x5b90a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [0x6691f8]
mov byte [eax], 0x30
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [0x6691f8]
inc eax
mov dx, word [ebp - 0x10]
mov word [eax], dx
mov eax, dword [0x6691f8]
mov edx, 3
call fcn.0064afcc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
je 0x5b8986
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b9138
call fcn.0052fa8c
mov eax, dword [ebp - 0x2c]
call fcn.00403c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
mov edx, dword [0x6691f8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.00420704
mov eax, dword [0x6691f8]
mov edx, dword [ebp - 0x10]
call fcn.0064afcc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x5b89d5
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b9168
call fcn.0052fa8c
mov eax, dword [ebp - 0x2c]
call fcn.00403c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
mov eax, dword [0x6691f8]
mov dl, byte [ebp - 0x11]
mov byte [eax], dl
mov eax, dword [0x6691f8]
mov edx, 1
call fcn.0064afcc
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 0x64
call fcn.005965d8
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 1
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 1
je 0x5b8a4c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b919c
call fcn.0052fa8c
mov eax, dword [ebp - 0x2c]
call fcn.00403c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
lea edx, [ebp - 0x58]
mov eax, dword [0x66a180]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.0049b9a0
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x5b91c0
call fcn.00404e00
mov edx, dword [ebp - 0x54]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 0x46
call fcn.005965d8
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 1
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 0x10
je 0x5b8ae4
lea edx, [ebp - 0x60]
mov eax, dword [0x66a180]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.0049b9a0
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x5b91d8
call fcn.00404e00
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0x46
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 2
call fcn.0064b010
lea edx, [ebp - 0x68]
mov eax, dword [0x66a180]
mov eax, dword [eax]
mov al, byte [eax + 1]
call fcn.0049b9a0
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x5b91f4
call fcn.00404e00
mov edx, dword [ebp - 0x64]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b9208
call fcn.0052fa8c
mov eax, dword [ebp - 0x18]
call fcn.00403c94
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.00403c64
mov dword [ebp - 0x1c], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.00403c64
mov dword [ebp - 0x20], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, 7
mov eax, dword [ebp - 0x30]
call fcn.005935bc
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b9220
call fcn.0052fa8c
xor ecx, ecx
mov edx, 0x10
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.00420704
xor ecx, ecx
mov edx, 0x20
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
sub eax, 0x20
sbb edx, 0
push edx
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00420794
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [0x6691f8]
mov dword [edx], eax
mov eax, dword [0x6691f8]
mov edx, 4
call fcn.0064afcc
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 0x64
call fcn.005965d8
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 2
call fcn.0064b010
mov byte [ebp - 0x21], 1
mov dword [ebp - 0x28], 0x10000
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004d0ab8
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
mov edx, 0x64
call fcn.004d0a08
jmp 0x5b8d4f
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004204a8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x28]
cdq
cmp edx, dword [esp + 4]
jne 0x5b8ccd
cmp eax, dword [esp]
seta al
jmp 0x5b8cd0
setg al
add esp, 8
and al, byte [ebp - 0x21]
je 0x5b8cf2
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
call fcn.004204a8
sub ebx, eax
mov dword [ebp - 0x28], ebx
mov edx, dword [0x6691f8]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.00420704
mov eax, dword [0x6691f8]
mov edx, dword [ebp - 0x28]
call fcn.0064afcc
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
push 0
push 0x64
mov eax, dword [ebp - 0x1c]
call fcn.004204a8
call fcn.00405e64
call fcn.00405e88
mov edx, eax
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
call fcn.004d0ab8
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004204a8
cmp edx, dword [esp + 4]
jne 0x5b8d6e
cmp eax, dword [esp]
setb al
jmp 0x5b8d71
setl al
add esp, 8
and al, byte [ebp - 0x21]
jne 0x5b8c9f
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004d0ab8
mov eax, dword [ebp - 0x1c]
call fcn.00403c94
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x6691f8]
mov dl, byte [ebp - 0x11]
mov byte [eax], dl
mov eax, dword [0x6691f8]
mov edx, 1
call fcn.0064afcc
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 2
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 0x1f
je 0x5b8e2a
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax + 1], 0xa5
je 0x5b8e2a
lea edx, [ebp - 0x70]
mov eax, dword [0x66a180]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.0049b9a0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x5b9238
call fcn.00404e00
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b9254
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, 0x4c
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 0xcc
je 0x5b8e9a
lea edx, [ebp - 0x78]
mov eax, dword [0x66a180]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.0049b9a0
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0x5b9238
call fcn.00404e00
mov edx, dword [ebp - 0x74]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
lea ecx, [ebp - 0x88]
mov eax, dword [0x66a180]
mov eax, dword [eax]
add eax, 0xc
mov edx, 0x23
call fcn.0049b85c
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0049b9c4
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.00409e04
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 0x5b926c
call fcn.00404e00
mov edx, dword [ebp - 0x7c]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x66a180]
mov eax, dword [eax]
call fcn.004061f0
mov ecx, eax
mov edx, dword [0x669188]
mov eax, dword [0x66a180]
mov eax, dword [eax]
call fcn.0049b428
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
push 0x808
push 0
mov eax, dword [0x66a180]
mov eax, dword [eax]
call fcn.004061f0
mov ecx, eax
xor edx, edx
mov al, 0x86
call fcn.005e388c
mov eax, 8
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 0x89
je 0x5b8f70
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b927c
call fcn.0052fa8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
mov eax, 0x800
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 1
je 0x5b8f97
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b9294
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov edx, dword [0x669188]
mov eax, dword [0x669578]
mov ecx, 0xac
call fcn.0049b428
push 0x4008
push 0
mov ecx, 0xac
mov dl, 8
mov al, 1
call fcn.005e388c
mov eax, 8
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 0x4e
jne 0x5b9001
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b92ac
call fcn.0052fa8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
mov eax, 0x4000
call fcn.0064b010
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x669188]
mov byte [eax], 0
mov eax, dword [0x669188]
mov byte [eax + 1], 0
push 0x4008
push 0
mov ecx, 2
xor edx, edx
mov al, 0x84
call fcn.005e388c
mov eax, 8
call fcn.0064b010
mov eax, dword [0x66a180]
mov eax, dword [eax]
cmp byte [eax], 0x4e
jne 0x5b906e
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b92ac
call fcn.0052fa8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
mov eax, 0x4000
call fcn.0064b010
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5b92c8
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b90b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b90e6
lea eax, [ebp - 0x88]
mov edx, 0x10
call fcn.00404b08
lea eax, [ebp - 0x30]
call fcn.00404ae4
lea eax, [ebp - 4]
call fcn.00404ae4
ret