Function at 0x10014740
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10022994]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0x14]
xor ecx, ecx
push edi
mov edi, dword [0x10023d00]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, 0x80000000
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x60], edi
mov dword [0x10023d00], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
cmp esi, ecx
jne 0x100147b4
lea eax, [ebp - 0x1c]
mov dword [ebx + 0x14], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.100192e0
push ebx
call fcn.10014470
add esp, 0xc
cmp byte [ebx + 0x10], 8
mov dword [ebp - 0x28], eax
jne 0x100147e3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
push eax
push ecx
call fcn.100192c0
add esp, 8
mov al, byte [ebx + 0x10]
cmp al, 5
je 0x100147f5
cmp al, 6
je 0x100147f5
mov dword [ebx + 0x14], 0
cmp al, 8
jne 0x10014807
mov edx, dword [ebx + 4]
push 0
push edx
call fcn.10015dc0
add esp, 8
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.1000fe60
add eax, 0xffffffc3
add esp, 8
cmp eax, 0xcd
ja case.0x1001482c.62
movzx edx, byte [eax + 0x10014ddc]
jmp dword [edx*4 + 0x10014da8]
mov ecx, 0x10015550
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x10015570
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x10015590
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, fcn.100154b0
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x100154d0
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x10015450
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x10015470
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x10015490
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x10015530
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x10015510
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
mov ecx, 0x100154f0
mov dword [ebp - 0x20], ecx
jmp 0x100148c2
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp word [0x100241c0], cx
je 0x100148c2
push 0xd3
call fcn.10016d80
mov ecx, dword [ebp - 0x20]
add esp, 4
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x10014960
cmp al, 3
je 0x100148d5
cmp al, 4
jne 0x1001493f
test ecx, ecx
je 0x100148f4
push 0x17
call fcn.10016d80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
cmp word [eax + 0x50], 0
mov edi, dword [eax + 0x4c]
jle 0x1001491a
push eax
call fcn.1000cd50
push eax
call fcn.10010990
add esp, 8
test eax, eax
jle 0x1001491e
mov ecx, dword [ebp - 0x20]
inc eax
imul edi, eax
test edi, edi
jne 0x10014960
mov ecx, dword [ebx]
add ecx, 8
push ecx
push 0x2e
call fcn.10016d80
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 0
jne 0x10014960
push 0x16
call fcn.10016d80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx]
test byte [edx + 0x36], 8
jne 0x10014945
mov dword [0x100241d8], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
mov al, byte [ebx + 0x10]
mov dword [ebp - 0x34], edx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x2c], edx
mov dword [ebx + 0x14], esi
cmp al, 5
je 0x10014a35
cmp al, 6
je 0x10014a35
cmp al, 3
je 0x10014a35
cmp al, 4
je 0x10014a35
test ecx, ecx
je 0x100149d7
push ebx
call fcn.10015a30
mov eax, dword [ebp - 0x20]
push eax
lea edi, [ebp - 0x58]
mov eax, fcn.10014740
call fcn.10011090
jmp 0x10014ac6
lea ecx, [ebp - 0x58]
push ecx
call fcn.10014740
add esp, 4
test eax, eax
je 0x100149f5
lea edx, [ebp - 0x58]
push edx
call fcn.10015a30
add esp, 4
jmp 0x100149ff
cmp byte [ebp - 0x48], 1
jne 0x100149ff
mov byte [ebp - 0x48], 7
lea eax, [ebp - 0x58]
push eax
call fcn.10010650
mov cl, byte [ebp - 0x48]
add esp, 4
cmp cl, 1
jne 0x10014acc
cmp byte [ebp - 0x30], cl
jne 0x10014acc
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x58]
jne 0x10014cf7
add eax, 8
push eax
jmp 0x10014abc
test ecx, ecx
je 0x10014a49
push 0
call fcn.10015300
push ebx
call fcn.10015a30
add esp, 8
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push esi
lea edi, [ebp - 0x58]
mov eax, fcn.10014740
mov dword [ebp - 0x44], ecx
call fcn.10011090
mov cl, byte [ebp - 0x48]
add esp, 4
cmp cl, 5
je 0x10014a77
cmp cl, 6
je 0x10014a77
xor eax, eax
mov dword [ebp - 0x44], eax
jmp 0x10014a7a
mov eax, dword [ebp - 0x44]
test esi, esi
je 0x10014a8a
push 1
call fcn.10015340
add esp, 4
jmp 0x10014ac9
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x10014acc
test eax, eax
je 0x10014acc
cmp byte [ebp - 0x30], cl
jne 0x10014acc
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x58]
jne 0x10014acc
mov esi, dword [edi]
cmp esi, dword [eax]
jne 0x10014acc
mov esi, dword [edi + 4]
cmp esi, dword [eax + 4]
jne 0x10014acc
mov esi, dword [edi + 8]
cmp esi, dword [eax + 8]
jne 0x10014acc
add edx, 8
push edx
push 0xe2
call fcn.10016d80
add esp, 8
mov cl, byte [ebp - 0x48]
mov dl, byte [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
cmp dl, 3
je 0x10014b19
cmp dl, 4
je 0x10014b19
cmp dl, 5
je 0x10014aea
cmp dl, 6
jne 0x10014ce3
cmp eax, 1
jle 0x10014ce3
mov esi, dword [ebp - 0x40]
cmp word [esi + 0x50], 0
jne 0x10014ce3
cmp dword [ebp - 0x20], 0
jne 0x10014ce3
cmp cl, 3
je 0x10014b19
cmp cl, 4
jne 0x10014ce3
mov esi, dword [ebp - 0x40]
mov esi, dword [esi + 0x4c]
xor edi, edi
mov ebx, 1
mov dword [ebp - 0x28], esi
cmp dl, 5
je 0x10014b33
cmp dl, 6
jne 0x10014b43
test eax, eax
jle 0x10014b43
mov edx, dword [ebp - 0x40]
cmp word [edx + 0x50], di
jne 0x10014b43
mov dword [ebp - 0x28], eax
cmp cl, 3
je 0x10014b6c
cmp cl, 4
je 0x10014b6c
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x10014b5b
mov eax, dword [ebp - 0x54]
test eax, eax
jg 0x10014b72
mov eax, dword [ebp - 0x40]
add eax, 8
push eax
push 0x21
call fcn.10016d80
add esp, 8
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
test edx, edx
je 0x10014bb6
test eax, eax
jne 0x10014b82
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x24], eax
jmp 0x10014b9f
mov dword [ebp - 0x24], eax
cmp word [edx + 0x50], di
je 0x10014b9f
add edx, 8
push edx
push 0x1c
call fcn.10016d80
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x24]
add esp, 8
movsx esi, word [edx + 0x50]
mov edi, dword [edx + 0x44]
test esi, esi
jne 0x10014bce
test edi, edi
jne 0x10014bce
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x44], esi
jmp 0x10014bca
xor esi, esi
mov dword [ebp - 0x24], eax
test eax, eax
jns 0x10014bce
mov ecx, dword [ebp - 0x40]
neg eax
mov dword [ebp - 0x24], eax
cmp dword [ecx + 0x44], esi
jne 0x10014bce
xor ebx, ebx
mov ecx, dword [ebp - 0x40]
movsx ecx, word [ecx + 0x50]
cmp ecx, esi
je 0x10014bf4
push 0x30
call fcn.10016d80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
jl 0x10014cc8
test ebx, ebx
je 0x10014c0b
cmp ecx, eax
jg 0x10014cc8
test eax, eax
je 0x10014cc8
cmp byte [ebp - 0x30], 5
je 0x10014c4d
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx + 0x44]
cmp ecx, edi
je 0x10014c4d
test ecx, ecx
jne 0x10014c2f
test edi, 0x40000000
je 0x10014c4d
lea eax, [edx + 8]
test edx, edx
jne 0x10014c39
lea eax, [ebx + 8]
push eax
push 0xe5
call fcn.10016d80
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x24]
add esp, 8
test esi, esi
jle 0x10014cb6
mov ebx, dword [ebp - 0x40]
mov edi, edx
push ebx
call fcn.1000cd50
push edi
mov ebx, eax
call fcn.1000cd50
mov edx, dword [ebx + 0x4c]
mov edi, eax
add esp, 8
cmp edx, dword [edi + 0x4c]
je 0x10014c7d
push 0x2f
call fcn.10016d80
add esp, 4
jmp 0x10014ca4
mov ecx, dword [edi + 0x44]
mov eax, dword [ebx + 0x44]
cmp eax, ecx
je 0x10014ca4
test eax, eax
jne 0x10014c93
test ecx, 0x40000000
je 0x10014ca4
lea eax, [edi + 8]
push eax
push 0xe5
call fcn.10016d80
add esp, 8
dec esi
jne 0x10014c56
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.10010990
add esp, 4
mov dword [ebp - 0x24], eax
lea edx, [eax*4]
push edx
call fcn.10015cf0
add esp, 4
jmp 0x10014d1c
push 0x2f
call fcn.10016d80
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret
cmp cl, 3
je 0x10014ced
cmp cl, 4
jne 0x10014cf7
push 6
call fcn.10016d80
add esp, 4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x40]
push ecx
push 2
push edx
push eax
push 0
call fcn.10010b30
lea ecx, [ebp - 0x40]
push ecx
call fcn.10015b90
add esp, 0x1c
cmp dword [ebp - 0x20], 0
jne 0x10014d45
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
je 0x10014d45
test eax, eax
jne 0x10014d38
test ecx, 0x40000000
je 0x10014d45
push 0xd5
call fcn.10016d80
add esp, 4
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x10014d57
push 4
push eax
call fcn.1000cc10
add esp, 8
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
pop edi
mov dword [0x100241c4], 1
pop esi
mov byte [eax + 0x10], 7
mov dword [0x10023d00], edx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret
call fcn.1000c500
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov dword [0x10023d00], edi
pop edi
mov dword [ebx + 0x14], esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret