Function at 0x1001af50
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1003155c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [0x10032f98]
push esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov eax, 0x7fffffff
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], ebx
mov dword [0x10032f98], ecx
mov dword [ebp - 0x30], eax
cmp eax, ecx
jne 0x1001afcd
lea eax, [ebp - 0x24]
mov dword [edi + 0x14], eax
push fcn.1001ac00
mov esi, edi
call fcn.10016f90
mov esi, eax
mov al, byte [edi + 0x10]
add esp, 4
cmp al, 5
je 0x1001aff0
cmp al, 6
je 0x1001aff0
mov dword [edi + 0x14], 0
cmp al, 8
jne 0x1001b002
mov ecx, dword [edi + 4]
push 0
push ecx
call fcn.1000134d
add esp, 8
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.1000130c
add eax, 0xffffffc3
add esp, 8
cmp eax, 0xcd
ja case.0x1001b027.62
movzx ecx, byte [eax + 0x1001b5a8]
jmp dword [ecx*4 + 0x1001b574]
mov ebx, 0x1000105a
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x10001181
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x10001271
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, fcn.10001262
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x100012ad
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x100012bc
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x10001451
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x10001483
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x100012e9
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x10001479
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
mov ebx, 0x1000128a
mov dword [ebp - 0x28], ebx
jmp 0x1001b0b7
xor ebx, ebx
mov dword [ebp - 0x28], ebx
cmp word [0x10033528], bx
je 0x1001b0b7
push 0xd3
call fcn.10001046
add esp, 4
mov al, byte [edi + 0x10]
cmp al, 6
je 0x1001b134
cmp al, 3
je 0x1001b0c6
cmp al, 4
jne 0x1001b115
test ebx, ebx
je 0x1001b0e5
push 0x17
call fcn.10001046
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002344a
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
push edx
call fcn.1000142e
add esp, 4
test eax, eax
jne 0x1001b134
mov eax, dword [edi]
add eax, 0x10
push eax
push 0x2e
call fcn.10001046
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002344a
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1001b134
push 0x16
call fcn.10001046
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002344a
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
test byte [ecx + 0x3a], 8
jne 0x1001b119
mov dword [0x10033540], 0
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x60], edx
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x50], eax
mov al, byte [edi + 0x10]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], ecx
mov dword [edi + 0x14], edx
cmp al, 5
je 0x1001b205
cmp al, 6
je 0x1001b205
cmp al, 3
je 0x1001b205
cmp al, 4
je 0x1001b205
test ebx, ebx
je 0x1001b1a7
push edi
call fcn.100011c2
push ebx
lea eax, [ebp - 0x48]
mov ecx, fcn.1001af50
call fcn.10017ba0
jmp 0x1001b29b
lea eax, [ebp - 0x48]
push eax
call fcn.1001af50
add esp, 4
test eax, eax
je 0x1001b1c5
lea ecx, [ebp - 0x48]
push ecx
call fcn.100011c2
add esp, 4
jmp 0x1001b1cf
cmp byte [ebp - 0x38], 1
jne 0x1001b1cf
mov byte [ebp - 0x38], 7
lea edx, [ebp - 0x48]
push edx
call fcn.10016ee0
mov cl, byte [ebp - 0x38]
add esp, 4
cmp cl, 1
jne 0x1001b2a1
cmp byte [ebp - 0x50], cl
jne 0x1001b2a1
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x48]
jne 0x1001b4d3
add eax, 0x10
push eax
jmp 0x1001b291
test ebx, ebx
je 0x1001b219
push 0
call fcn.10001122
push edi
call fcn.100011c2
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], eax
push ebx
lea eax, [ebp - 0x48]
mov ecx, fcn.1001af50
call fcn.10017ba0
mov cl, byte [ebp - 0x38]
add esp, 4
cmp cl, 5
je 0x1001b244
cmp cl, 6
je 0x1001b244
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x1001b247
mov eax, dword [ebp - 0x34]
test ebx, ebx
je 0x1001b257
push 1
call fcn.100012d5
add esp, 4
jmp 0x1001b29e
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x1001b2a1
test eax, eax
je 0x1001b2a1
cmp byte [ebp - 0x50], cl
jne 0x1001b2a1
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x48]
jne 0x1001b2a1
mov edi, dword [esi]
cmp edi, dword [eax]
jne 0x1001b2a1
mov edi, dword [esi + 4]
cmp edi, dword [eax + 4]
jne 0x1001b2a1
mov edi, dword [esi + 8]
cmp edi, dword [eax + 8]
jne 0x1001b2a1
mov esi, dword [esi + 0xc]
cmp esi, dword [eax + 0xc]
jne 0x1001b2a1
add edx, 0x10
push edx
push 0xe2
call fcn.10001046
add esp, 8
mov cl, byte [ebp - 0x38]
mov dl, byte [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
cmp dl, 3
je 0x1001b2ec
cmp dl, 4
je 0x1001b2ec
cmp dl, 5
je 0x1001b2bf
cmp dl, 6
jne 0x1001b4bf
cmp eax, 1
jle 0x1001b4bf
mov edx, dword [ebp - 0x60]
cmp word [edx + 0x54], 0
jne 0x1001b4bf
test ebx, ebx
jne 0x1001b4bf
cmp cl, 3
je 0x1001b2ec
cmp cl, 4
jne 0x1001b4bf
mov edx, dword [ebp - 0x60]
mov ebx, dword [edx + 0x50]
mov dword [ebp - 0x30], ebx
mov bl, byte [ebp - 0x50]
xor esi, esi
mov edi, 1
cmp bl, 5
je 0x1001b309
cmp bl, 6
jne 0x1001b316
test eax, eax
jle 0x1001b316
cmp word [edx + 0x54], si
jne 0x1001b316
mov dword [ebp - 0x30], eax
cmp cl, 3
je 0x1001b33c
cmp cl, 4
je 0x1001b33c
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1001b32e
mov eax, dword [ebp - 0x44]
test eax, eax
jg 0x1001b342
add edx, 0x10
push edx
push 0x21
call fcn.10001046
add esp, 8
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
test ecx, ecx
je 0x1001b388
test eax, eax
jne 0x1001b352
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x2c], edx
jmp 0x1001b36e
mov edx, eax
mov dword [ebp - 0x2c], edx
cmp word [ecx + 0x54], si
je 0x1001b36e
add ecx, 0x10
push ecx
push 0x1c
call fcn.10001046
mov edx, dword [ebp - 0x2c]
add esp, 8
mov eax, dword [ebp - 0x48]
movsx ebx, word [eax + 0x54]
mov esi, dword [eax + 0x48]
test ebx, ebx
jne 0x1001b3a4
test esi, esi
jne 0x1001b3a4
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x48], ebx
jmp 0x1001b3a0
mov edx, eax
xor ebx, ebx
mov dword [ebp - 0x2c], edx
test eax, eax
jns 0x1001b3a4
mov ecx, dword [ebp - 0x60]
neg eax
mov edx, eax
mov dword [ebp - 0x2c], edx
cmp dword [ecx + 0x48], ebx
jne 0x1001b3a4
xor edi, edi
mov eax, dword [ebp - 0x60]
movsx ecx, word [eax + 0x54]
cmp ecx, ebx
je 0x1001b3ca
push 0x30
call fcn.10001046
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002344a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
cmp eax, edx
jl 0x1001b4a4
test edi, edi
je 0x1001b3e1
cmp eax, edx
jg 0x1001b4a4
test edx, edx
je 0x1001b4a4
cmp byte [ebp - 0x50], 5
je 0x1001b423
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x48]
push 1
push esi
push ecx
call fcn.100014d8
add esp, 0xc
test eax, eax
jne 0x1001b423
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x1001b40f
mov eax, dword [ebp - 0x60]
add eax, 0x10
push eax
push 0xe5
call fcn.10001046
mov edx, dword [ebp - 0x2c]
add esp, 8
test ebx, ebx
jle 0x1001b492
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x48]
lea ecx, [ecx]
push edi
call fcn.1000145b
push esi
mov edi, eax
call fcn.1000145b
mov edx, dword [edi + 0x50]
mov esi, eax
add esp, 8
cmp edx, dword [esi + 0x50]
je 0x1001b457
push 0x2f
call fcn.10001046
add esp, 4
jmp 0x1001b47e
mov eax, dword [esi + 0x48]
mov ecx, dword [edi + 0x48]
push 1
push eax
push ecx
call fcn.100014d8
add esp, 0xc
test eax, eax
jne 0x1001b47e
lea edx, [esi + 0x10]
push edx
push 0xe5
call fcn.10001046
add esp, 8
dec ebx
jne 0x1001b430
mov eax, dword [ebp - 0x60]
push eax
call fcn.1000142e
mov edx, eax
add esp, 4
mov dword [ebp - 0x2c], edx
lea ecx, [edx*4]
push ecx
call fcn.1000113b
add esp, 4
jmp 0x1001b4f8
push 0x2f
call fcn.10001046
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002344a
mov esp, ebp
pop ebp
ret
cmp cl, 3
je 0x1001b4c9
cmp cl, 4
jne 0x1001b4d3
push 6
call fcn.10001046
add esp, 4
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x60]
push eax
push 2
push ecx
push edx
push 0
call fcn.100011e0
lea eax, [ebp - 0x60]
push eax
call fcn.10001078
add esp, 0x1c
cmp dword [ebp - 0x28], 0
jne 0x1001b512
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x58]
push 0xffffffffffffffff
push 1
push ecx
push edx
call fcn.10001096
add esp, 0x10
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1001b524
push 4
push eax
call fcn.10001145
add esp, 8
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
pop edi
pop esi
mov dword [0x1003352c], 1
mov dword [0x10032f98], eax
mov byte [ecx + 0x10], 7
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002344a
mov esp, ebp
pop ebp
ret
call fcn.1000133e
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x14], edx
pop edi
mov eax, esi
pop esi
mov dword [0x10032f98], ebx
xor ecx, ebp
pop ebx
call fcn.1002344a
mov esp, ebp
pop ebp
ret