Function at 0x19ec54b4
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x14]
xor eax, eax
push edi
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0xc]
push eax
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x7fff
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x30], ebx
call fcn.19eaa9c7
mov edi, dword [esi + 0x40]
mov byte [ebp - 3], 1
mov byte [ebp - 2], 1
test edi, edi
je 0x19ec5818
jmp 0x19ec550b
mov ebx, dword [ebp - 0x30]
mov eax, dword [edi]
cmp eax, 0x10
jne 0x19ec5519
movsx ecx, word [edi + 0xe]
mov dword [ebp - 0x14], ecx
cmp eax, 0x20
jne 0x19ec57f5
movsx eax, word [edi + 0x10]
inc dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov al, byte [edi + 8]
cmp al, 4
jne 0x19ec5536
inc dword [ebp - 0x28]
cmp al, 0xcc
jne 0x19ec5561
lea eax, [ebp - 0x3c]
push eax
movsx eax, word [ebp + 8]
push eax
movsx eax, word [ebp - 0x14]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.19ea0e79
mov ax, word [ebp - 0x3a]
cmp ax, word [esi + 0x78]
je 0x19ec5859
mov al, byte [edi + 8]
cmp al, 0xcf
je 0x19ec556c
cmp al, 0xd0
jne 0x19ec559f
lea eax, [ebp - 0x3c]
push eax
movsx eax, word [ebp + 8]
push eax
movsx eax, word [ebp - 0x14]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.19ea0e79
movsx ecx, word [esi + 0x78]
movsx eax, word [esi + 0x7c]
lea eax, [ecx + eax*4]
movsx ecx, word [ebp - 0x36]
imul ecx, ecx, 5
cmp ecx, eax
jl 0x19ec5859
mov al, byte [edi + 8]
cmp al, 1
je 0x19ec55b2
cmp al, 0xca
je 0x19ec55b2
cmp al, 0xcf
jne 0x19ec57f5
movsx eax, word [ebp + 8]
movsx ecx, word [ebp - 0x14]
inc dword [ebp - 0x10]
lea edx, [ebp - 0x3c]
push edx
push eax
push ecx
push dword [ebp - 0xc]
mov dword [ebp + 8], eax
push dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
call fcn.19ea0e79
movsx ecx, word [ebp - 0x3a]
movsx eax, word [ebp - 0x36]
movsx edx, word [ebp - 0x38]
sub eax, ecx
movsx ecx, word [ebp - 0x3c]
sub edx, ecx
mov dword [ebp - 0x18], eax
imul edx, edx, 0xa
imul eax, eax, 0xe
cmp edx, eax
jg 0x19ec5859
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0x2c]
call fcn.19ea098b
push dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0x2c]
call fcn.19ea0a02
movsx eax, word [ebx + eax*2]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
movsx ecx, word [ebx + ecx*2]
mov ebx, dword [ebp + 0x10]
add eax, eax
movsx edx, word [eax + edx]
mov dword [ebp + 8], edx
movsx edx, word [eax + ebx]
mov eax, dword [ebp + 8]
sub edx, eax
lea eax, [ecx + ecx]
mov ecx, dword [ebp + 0xc]
movsx ecx, word [eax + ecx]
movsx eax, word [eax + ebx]
sub eax, ecx
cmp eax, edx
jg 0x19ec5657
mov eax, edx
movsx ecx, word [ebp - 0x36]
imul eax, eax, 0xb
movsx edx, word [ebp - 0x3a]
sub ecx, edx
imul ecx, ecx, 0xa
cmp ecx, eax
jl 0x19ec5859
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 1], 0
mov byte [ebp + 0xb], 0
mov ecx, dword [eax]
cmp ecx, 0x10
je 0x19ec56d9
cmp ecx, 3
jne 0x19ec5693
cmp byte [eax + 4], 0x65
jne 0x19ec56d4
mov byte [ebp + 0xb], 1
cmp ecx, 1
jne 0x19ec56d4
mov cl, byte [eax + 4]
cmp cl, 0x66
je 0x19ec56d0
cmp byte [eax + 8], 3
je 0x19ec56b0
cmp cl, 0xd
je 0x19ec56b0
cmp cl, 0x6e
jne 0x19ec56d4
movsx ecx, word [eax + 0x10]
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0xc]
add ecx, ecx
movsx edx, word [ecx + edx]
mov cx, word [ecx + ebx]
mov ebx, dword [ebp + 0xc]
cmp cx, word [ebx + edx*2]
mov ebx, dword [ebp - 0x18]
jge 0x19ec56d4
mov byte [ebp - 1], 1
mov eax, dword [eax + 0x1c]
jmp 0x19ec567d
cmp byte [ebp - 2], 1
jne 0x19ec56e5
cmp byte [ebp + 0xb], 0
je 0x19ec56f9
cmp byte [ebp - 3], 1
jne 0x19ec57d1
cmp byte [ebp - 1], 0
jne 0x19ec57d1
mov eax, dword [edi + 0x18]
test eax, eax
je 0x19ec5765
movsx ecx, word [eax + 0xe]
jmp 0x19ec5709
mov eax, dword [eax + 0x18]
cmp dword [eax], 0x20
jne 0x19ec5706
movsx eax, word [eax + 0x10]
lea edx, [ebp - 0x44]
push edx
push eax
movsx eax, cx
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.19ea0e79
mov ax, word [ebp - 0x42]
cmp ax, word [ebp - 0x36]
mov ax, word [ebp - 0x38]
mov cx, word [ebp - 0x3a]
jle 0x19ec574b
cmp word [ebp - 0x44], ax
jle 0x19ec574b
movsx ebx, word [ebp - 0x3e]
movsx edx, cx
mov byte [ebp + 0xb], 1
sub ebx, edx
cmp word [ebp - 0x3e], cx
jge 0x19ec5765
cmp word [ebp - 0x44], ax
jle 0x19ec5765
movsx eax, word [ebp - 0x42]
movsx ebx, word [ebp - 0x36]
mov byte [ebp - 1], 1
sub ebx, eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x19ec57d1
movsx ecx, word [eax + 0x10]
jmp 0x19ec5775
mov eax, dword [eax + 0x1c]
cmp dword [eax], 0x10
jne 0x19ec5772
movsx eax, word [eax + 0xe]
lea edx, [ebp - 0x44]
push edx
movsx ecx, cx
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.19ea0e79
mov ax, word [ebp - 0x42]
cmp ax, word [ebp - 0x36]
mov cx, word [ebp - 0x3a]
mov ax, word [ebp - 0x3c]
jle 0x19ec57b7
cmp word [ebp - 0x40], ax
jle 0x19ec57b7
movsx ebx, word [ebp - 0x3e]
movsx edx, cx
mov byte [ebp + 0xb], 1
sub ebx, edx
cmp word [ebp - 0x3e], cx
jge 0x19ec57d1
cmp word [ebp - 0x40], ax
jle 0x19ec57d1
movsx eax, word [ebp - 0x42]
movsx ebx, word [ebp - 0x36]
mov byte [ebp - 1], 1
sub ebx, eax
cmp byte [ebp + 0xb], 0
jne 0x19ec57db
mov byte [ebp - 2], 0
cmp byte [ebp - 1], 0
jne 0x19ec57e5
mov byte [ebp - 3], 0
cmp dword [ebp - 0x24], ebx
jg 0x19ec57ed
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x20], ebx
jl 0x19ec57f5
mov dword [ebp - 0x20], ebx
mov eax, dword [edi + 0x18]
test eax, eax
je 0x19ec5806
mov edi, eax
test edi, edi
jne 0x19ec5508
cmp dword [ebp - 0x10], 1
jle 0x19ec5818
cmp byte [ebp - 2], 0
jne 0x19ec5818
cmp byte [ebp - 3], 0
je 0x19ec5859
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
imul eax, eax, 0xf
mov edx, dword [ebp - 8]
imul ecx, ecx, 0xa
cmp ecx, eax
jg 0x19ec5859
cmp dword [ebp - 0x10], 0
je 0x19ec5859
cmp dword [ebp - 0x10], 1
jne 0x19ec583d
cmp dword [ebp - 0x1c], 3
jg 0x19ec5859
cmp dword [ebp - 0x1c], 2
jne 0x19ec5849
cmp dword [ebp - 0x28], 1
je 0x19ec5859
cmp dword [ebp - 0x10], 1
jne 0x19ec590e
cmp byte [ebp - 2], 0
jne 0x19ec5869
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp al, 0xca
je 0x19ec5870
mov edi, dword [edi + 0x1c]
mov al, byte [edi + 8]
cmp al, 1
jne 0x19ec5862
cmp byte [edi + 8], 0xca
je 0x19ec5859
mov dword [ebp - 0x34], edi
jmp 0x19ec5903
cmp eax, 3
jne 0x19ec5900
cmp byte [edi + 4], 0x64
jne 0x19ec5900
movsx eax, word [edi + 0xe]
movsx eax, word [edx + eax*2]
mov dword [ebp + 0x10], eax
movsx eax, word [edi + 0x10]
movsx eax, word [edx + eax*2]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x34]
jmp 0x19ec58f4
cmp ecx, 3
jne 0x19ec58f1
cmp byte [eax + 4], 0x65
jne 0x19ec58f1
movsx esi, word [eax + 0x10]
movsx ecx, word [eax + 0xe]
movsx esi, word [edx + esi*2]
mov ebx, dword [ebp + 0x10]
cmp ebx, dword [ebp + 0xc]
movsx ecx, word [edx + ecx*2]
mov dword [ebp + 8], esi
jg 0x19ec58cd
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp ecx, esi
jge 0x19ec58d6
mov esi, ecx
cmp ebx, esi
jl 0x19ec58f1
cmp ecx, dword [ebp + 8]
jg 0x19ec58e2
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
cmp esi, dword [ebp + 0xc]
jl 0x19ec58ed
mov esi, dword [ebp + 0xc]
cmp ecx, esi
jge 0x19ec5900
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
cmp ecx, 0x10
jne 0x19ec58a4
jmp 0x19ec5859
mov edi, dword [edi + 0x1c]
mov eax, dword [edi]
cmp eax, 0x10
jne 0x19ec587e
mov al, 1
jmp 0x19ec585b