Function at 0x58b4d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6a50f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x58b503
cmp dword [ebp + 0x10], 0
jne 0x58b503
mov dword [ebp - 4], 1
jmp 0x58bc27
cmp dword [ebp + 0xc], 0
je 0x58b50f
cmp dword [ebp + 0x10], 0
jne 0x58b514
jmp 0x58bc27
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.00582ad0
add esp, 8
test eax, eax
jne 0x58b535
jmp 0x58bc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 3
jne 0x58b559
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 2]
cmp ecx, 3
jne 0x58b559
mov dword [ebp - 4], 1
jmp 0x58bc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x12
jne 0x58b57d
mov ecx, dword [ebp + 0x10]
movsx edx, word [ecx + 2]
cmp edx, 0x12
jne 0x58b57d
mov dword [ebp - 4], 1
jmp 0x58bc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 1
je 0x58b613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xa
je 0x58b613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x11
je 0x58b613
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x17
je 0x58b613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x51
je 0x58b613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x52
je 0x58b613
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xb
je 0x58b613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x91
je 0x58b613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x65
je 0x58b613
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x1c
je 0x58b613
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x1d
je 0x58b613
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1e
jne 0x58b62d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 8]
jne 0x58b628
mov dword [ebp - 4], 1
jmp 0x58bc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 2
je 0x58b67b
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x20
je 0x58b67b
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x79
je 0x58b67b
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x8d
je 0x58b67b
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x67
je 0x58b67b
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0xc9
jne 0x58b6c1
mov dword [ebp - 8], 0
jmp 0x58b68d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jge 0x58b6af
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 0x58b6ad
jmp 0x58b6af
jmp 0x58b684
cmp dword [ebp - 8], 6
jne 0x58b6bc
mov dword [ebp - 4], 1
jmp 0x58bc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x18
je 0x58b6e9
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x19
je 0x58b6e9
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x1a
jne 0x58b76a
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x18
jne 0x58b701
mov dword [ebp - 0x428], 1
jmp 0x58b719
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 0x58b734
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jge 0x58b756
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 0x58b754
jmp 0x58b756
jmp 0x58b72b
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jne 0x58b765
mov dword [ebp - 4], 1
jmp 0x58bc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 9
je 0x58b851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x1f6
je 0x58b851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1f7
je 0x58b851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x7c
je 0x58b851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x90
je 0x58b851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0xe
je 0x58b851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xf
je 0x58b851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x10
je 0x58b851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x33
je 0x58b851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x53
je 0x58b851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x54
je 0x58b851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x55
je 0x58b851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xcc
je 0x58b851
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xcd
je 0x58b851
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x32
je 0x58b851
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xb5
jne 0x58b87b
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.0058ae80
add esp, 0xc
test eax, eax
je 0x58b876
mov dword [ebp - 4], 1
jmp 0x58bc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 4
je 0x58b893
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x6a
jne 0x58b8bd
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.0058ae80
add esp, 0xc
test eax, eax
je 0x58b8b8
mov dword [ebp - 4], 1
jmp 0x58bc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 5
je 0x58b8d5
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x66
jne 0x58b8ff
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.0058ae80
add esp, 0xc
test eax, eax
je 0x58b8fa
mov dword [ebp - 4], 1
jmp 0x58bc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 6
je 0x58b91b
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x68
jne 0x58b9fc
mov byte [ebp - 0x420], 0
push 0x400
push 0
lea edx, [ebp - 0x41f]
push edx
call fcn.00532490
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.0058ae80
add esp, 0xc
test eax, eax
je 0x58b95d
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 4
je 0x58b9b4
cmp dword [ebp - 4], 0
jne 0x58b9b4
push 0x401
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595160
add esp, 0xc
test eax, eax
jne 0x58b9b4
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.005952a0
add esp, 0x10
test eax, eax
jne 0x58b9b4
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x58b9f7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd4]
mov eax, dword [edx + 0x10e8]
and eax, 0x20000000
je 0x58b9f7
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.005952a0
add esp, 0x10
test eax, eax
jne 0x58b9f7
mov dword [ebp - 4], 1
jmp 0x58bc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x7a
je 0x58ba25
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x8e
je 0x58ba25
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xcb
jne 0x58ba4f
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.0058ae80
add esp, 0xc
test eax, eax
je 0x58ba4a
mov dword [ebp - 4], 1
jmp 0x58bc27
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1f
jne 0x58ba85
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.0058ae80
add esp, 0xc
test eax, eax
je 0x58ba80
mov dword [ebp - 4], 1
jmp 0x58bc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x13
jne 0x58babb
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.0058bc80
add esp, 0xc
test eax, eax
je 0x58bab6
mov dword [ebp - 4], 1
jmp 0x58bc27
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0xc
je 0x58bb0c
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x7b
je 0x58bb0c
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x8f
je 0x58bb0c
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
cmp eax, 0x69
je 0x58bb0c
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 2]
cmp edx, 0x1f5
je 0x58bb0c
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0xca
jne 0x58bb48
mov edx, dword [ebp + 0x10]
push edx
call fcn.005c4250
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.005c4250
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x13c]
push edx
call fcn.005bada0
add esp, 0xc
test eax, eax
je 0x58bb43
mov dword [ebp - 4], 1
jmp 0x58bc27
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 2]
cmp ecx, 0x3e8
jl 0x58bc27
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 0x58bbed
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 0x58bba9
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 0
je 0x58bbed
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 2]
mov ecx, dword [ebp - 0x424]
cmp dword [ecx + 4], eax
jne 0x58bbeb
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.0058ae80
add esp, 0xc
test eax, eax
je 0x58bbe9
mov dword [ebp - 4], 1
jmp 0x58bbed
jmp 0x58bb9a
cmp dword [ebp - 0x424], 0
jne 0x58bc27
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
cmp dword [eax + 0x10c4], 0
je 0x58bc27
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.00531ddb
mov esp, ebp
pop ebp
ret