Function at 0x58c4d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6a5f90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x58c503
cmp dword [ebp + 0x10], 0
jne 0x58c503
mov dword [ebp - 4], 1
jmp 0x58cc27
cmp dword [ebp + 0xc], 0
je 0x58c50f
cmp dword [ebp + 0x10], 0
jne 0x58c514
jmp 0x58cc27
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
push eax
call fcn.00583ad0
add esp, 8
test eax, eax
jne 0x58c535
jmp 0x58cc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 3
jne 0x58c559
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 2]
cmp ecx, 3
jne 0x58c559
mov dword [ebp - 4], 1
jmp 0x58cc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x12
jne 0x58c57d
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx + 2]
cmp edx, 0x12
jne 0x58c57d
mov dword [ebp - 4], 1
jmp 0x58cc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 1
je 0x58c613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xa
je 0x58c613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x11
je 0x58c613
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x17
je 0x58c613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x51
je 0x58c613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x52
je 0x58c613
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xb
je 0x58c613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x91
je 0x58c613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x65
je 0x58c613
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x1c
je 0x58c613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x1d
je 0x58c613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1e
jne 0x58c62d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 8]
jne 0x58c628
mov dword [ebp - 4], 1
jmp 0x58cc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 2
je 0x58c67b
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x20
je 0x58c67b
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x79
je 0x58c67b
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x8d
je 0x58c67b
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x67
je 0x58c67b
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0xc9
jne 0x58c6c1
mov dword [ebp - 8], 0
jmp 0x58c68d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jge 0x58c6af
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx + 8]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
movzx ecx, byte [eax + 8]
cmp edx, ecx
je 0x58c6ad
jmp 0x58c6af
jmp 0x58c684
cmp dword [ebp - 8], 6
jne 0x58c6bc
mov dword [ebp - 4], 1
jmp 0x58cc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x18
je 0x58c6e9
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x19
je 0x58c6e9
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x1a
jne 0x58c76a
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x18
jne 0x58c701
mov dword [ebp - 0x428], 1
jmp 0x58c719
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
xor eax, eax
cmp edx, 0x19
setne al
add eax, 2
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x428]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
jmp 0x58c734
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jge 0x58c756
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx + ecx*4 + 8]
cmp ecx, dword [esi + eax*4 + 8]
je 0x58c754
jmp 0x58c756
jmp 0x58c72b
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jne 0x58c765
mov dword [ebp - 4], 1
jmp 0x58cc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 9
je 0x58c851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x1f6
je 0x58c851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1f7
je 0x58c851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x7c
je 0x58c851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x90
je 0x58c851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0xe
je 0x58c851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xf
je 0x58c851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x10
je 0x58c851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x33
je 0x58c851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x53
je 0x58c851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x54
je 0x58c851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x55
je 0x58c851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xcc
je 0x58c851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xcd
je 0x58c851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x32
je 0x58c851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xb5
jne 0x58c87b
mov edx, dword [ebp + 0x10]
add edx, 8
push edx
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0058be80
add esp, 0xc
test eax, eax
je 0x58c876
mov dword [ebp - 4], 1
jmp 0x58cc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 4
je 0x58c893
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x6a
jne 0x58c8bd
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0058be80
add esp, 0xc
test eax, eax
je 0x58c8b8
mov dword [ebp - 4], 1
jmp 0x58cc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 5
je 0x58c8d5
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x66
jne 0x58c8ff
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0058be80
add esp, 0xc
test eax, eax
je 0x58c8fa
mov dword [ebp - 4], 1
jmp 0x58cc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 6
je 0x58c91b
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x68
jne 0x58c9fc
mov byte [ebp - 0x420], 0
push 0x400
push 0
lea edx, [ebp - 0x41f]
push edx
call fcn.00533390
add esp, 0xc
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0058be80
add esp, 0xc
test eax, eax
je 0x58c95d
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 4
je 0x58c9b4
cmp dword [ebp - 4], 0
jne 0x58c9b4
push 0x401
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00596160
add esp, 0xc
test eax, eax
jne 0x58c9b4
push 1
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005962a0
add esp, 0x10
test eax, eax
jne 0x58c9b4
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x58c9f7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd4]
mov eax, dword [edx + 0x10e8]
and eax, 0x20000000
je 0x58c9f7
push 1
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005962a0
add esp, 0x10
test eax, eax
jne 0x58c9f7
mov dword [ebp - 4], 1
jmp 0x58cc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x7a
je 0x58ca25
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x8e
je 0x58ca25
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xcb
jne 0x58ca4f
mov ecx, dword [ebp + 0x10]
add ecx, 8
push ecx
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0058be80
add esp, 0xc
test eax, eax
je 0x58ca4a
mov dword [ebp - 4], 1
jmp 0x58cc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1f
jne 0x58ca85
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0058be80
add esp, 0xc
test eax, eax
je 0x58ca80
mov dword [ebp - 4], 1
jmp 0x58cc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x13
jne 0x58cabb
mov edx, dword [ebp + 0x10]
add edx, 8
push edx
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0058cc80
add esp, 0xc
test eax, eax
je 0x58cab6
mov dword [ebp - 4], 1
jmp 0x58cc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xc
je 0x58cb0c
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x7b
je 0x58cb0c
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x8f
je 0x58cb0c
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x69
je 0x58cb0c
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1f5
je 0x58cb0c
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xca
jne 0x58cb48
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c5250
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.005c5250
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x13c]
push edx
call fcn.005bbda0
add esp, 0xc
test eax, eax
je 0x58cb43
mov dword [ebp - 4], 1
jmp 0x58cc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x3e8
jl 0x58cc27
mov dword [ebp - 0x424], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
cmp dword [ecx + 0x810], 0
je 0x58cbed
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d38]
mov edx, dword [ecx + 0x810]
mov dword [ebp - 0x424], edx
jmp 0x58cba9
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 0
je 0x58cbed
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 4], eax
jne 0x58cbeb
mov edx, dword [ebp + 0x10]
add edx, 8
push edx
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0058be80
add esp, 0xc
test eax, eax
je 0x58cbe9
mov dword [ebp - 4], 1
jmp 0x58cbed
jmp 0x58cb9a
cmp dword [ebp - 0x424], 0
jne 0x58cc27
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
cmp dword [eax + 0x10c4], 0
je 0x58cc27
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x10c4]
call edx
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00532cdb
mov esp, ebp
pop ebp
ret