Function at 0x1420530
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
xor al, al
mov byte [ebp - 1], al
mov byte [ebp + 0xb], al
push edi
mov ecx, dword [esi + 0xa8]
lea edi, [esi + 0xa0]
mov eax, dword [esi + 0xac]
lea ebx, [esi + 0x9c]
add ecx, 0xffffffff
mov byte [ebp - 8], 0
mov dword [esi + 0xd0], ecx
adc eax, 0xffffffff
mov dword [esi + 0xd4], eax
cmp dword [esi + 0xb8], 2
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
jne case.0x1420652.38
push dword [esi + 0xac]
lea eax, [ebp - 8]
push dword [esi + 0xa8]
push eax
push dword [edi]
mov eax, dword [ebx]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
mov eax, dword [esi + 0xa8]
mov ecx, eax
mov edx, dword [esi + 0xac]
add ecx, 1
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 8]
mov dword [ebp - 0xc], edx
adc edx, 0
and al, 0xf0
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp al, 0x40
jne 0x1420669
nop
push edx
push ecx
lea eax, [ebp - 8]
push eax
push dword [edi]
mov eax, dword [ebx]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
mov cl, byte [ebp - 8]
mov al, cl
and al, 0xf0
cmp al, 0x40
jne 0x142063e
push dword [esi + 0xac]
lea eax, [ebp - 8]
push dword [esi + 0xa8]
push eax
push dword [edi]
mov eax, dword [ebx]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
add dword [esi + 0xa8], 1
mov ecx, dword [esi + 0xa8]
adc dword [esi + 0xac], eax
mov edx, dword [esi + 0xac]
jmp 0x14205e0
movzx eax, cl
add eax, 0xffffffda
cmp eax, 0xcd
ja case.0x1420652.39
movzx eax, byte [eax + 0x1420f40]
jmp dword [eax*4 + 0x1420f38]
add dword [esi + 0xa8], 0xffffffff
adc dword [esi + 0xac], 0xffffffff
jmp case.0x1420652.38
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xa8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xac], eax
mov ecx, dword [esi + 0xac]
mov eax, dword [esi + 0xa8]
mov ebx, dword [ebp - 0x14]
mov edi, ebx
mov edx, dword [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push dword [ebx]
mov eax, dword [edx]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edx
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
mov eax, dword [esi + 0xa8]
mov edx, eax
mov ebx, dword [esi + 0xac]
add edx, 1
mov ecx, ebx
mov dword [esi + 0xa8], edx
adc ecx, 0
mov dword [esi + 0xac], ecx
cmp eax, dword [esi + 0xc0]
jne 0x14207d6
cmp ebx, dword [esi + 0xc4]
jne 0x14207d6
mov bl, byte [ebp - 8]
cmp bl, 0xf2
je 0x14206fa
cmp bl, 0xf3
jne 0x14207d9
push ecx
push edx
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
mov cl, byte [ebp - 2]
mov bl, byte [ebp - 8]
cmp cl, 0xf0
je 0x1420732
mov al, cl
and al, 0xfe
cmp al, 0x86
je 0x1420732
mov al, cl
and al, 0xf8
cmp al, 0x90
jne 0x1420738
mov byte [esi + 0x91], bl
cmp bl, 0xf3
jne 0x1420758
cmp cl, 0x88
je 0x1420751
cmp cl, 0x89
je 0x1420751
cmp cl, 0xc6
je 0x1420751
cmp cl, 0xc7
jne 0x1420758
mov byte [esi + 0x91], 0xf3
cmp dword [esi + 0xb8], 2
jne 0x14207d9
and cl, 0xf0
cmp cl, 0x40
jne 0x14207d9
push dword [esi + 0xac]
lea eax, [ebp - 2]
push dword [esi + 0xa8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
add dword [esi + 0xa8], 1
adc dword [esi + 0xac], eax
lea eax, [ebp - 2]
push dword [esi + 0xac]
push dword [esi + 0xa8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
add dword [esi + 0xa8], 0xffffffff
adc dword [esi + 0xac], 0xffffffff
mov bl, byte [ebp - 8]
movzx eax, bl
add eax, 0xffffffda
cmp eax, 0xcd
ja case.0x14207f1.39
movzx eax, byte [eax + 0x1421038]
jmp dword [eax*4 + 0x1421010]
push dword [ebp - 0xc]
mov word [esi + 0xe], 0
push dword [ebp - 0x10]
mov byte [esi + 0xd], 0
push dword [ebp - 8]
push esi
call fcn.014212d0
mov byte [esi + 1], bl
add esp, 0x10
mov ebx, dword [ebp - 0x18]
jmp 0x1420572
mov dword [esi + 0x6c], 1
push dword [ebp - 0xc]
mov dword [esi + 6], 0
push dword [ebp - 0x10]
mov byte [esi + 5], 0
push dword [ebp - 8]
mov byte [esi + 0xa], 0
push esi
call fcn.014212d0
mov byte [esi + 2], bl
add esp, 0x10
mov ebx, dword [ebp - 0x18]
jmp 0x1420572
mov dword [esi + 0x6c], 2
jmp 0x1420826
mov dword [esi + 0x6c], 3
jmp 0x1420826
mov dword [esi + 0x6c], 4
jmp 0x1420826
mov dword [esi + 0x6c], 5
jmp 0x1420826
mov dword [esi + 0x6c], 6
jmp 0x1420826
push dword [ebp - 0xc]
mov byte [ebp + 0xb], 1
push dword [ebp - 0x10]
push dword [ebp - 8]
push esi
call fcn.014212d0
mov byte [esi + 3], bl
add esp, 0x10
mov ebx, dword [ebp - 0x18]
jmp 0x1420572
push dword [ebp - 0xc]
mov byte [ebp - 1], 1
push dword [ebp - 0x10]
push dword [ebp - 8]
push esi
call fcn.014212d0
mov byte [esi + 4], bl
add esp, 0x10
mov ebx, dword [ebp - 0x18]
jmp 0x1420572
mov dword [esi + 0xcc], 0
lea edi, [esi + 0xcc]
cmp bl, 0x62
jne 0x1420a36
lea eax, [ebp - 3]
push eax
push esi
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
cmp dword [esi + 0xb8], 2
mov cl, byte [ebp - 3]
je 0x142090d
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne 0x1420a13
lea edi, [esi + 0xcc]
movzx eax, cl
not eax
and eax, 0xc
cmp al, 0xc
jne 0x1420a13
push dword [esi + 0xac]
lea eax, [ebp - 4]
push dword [esi + 0xa8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
test byte [ebp - 4], 4
je 0x1420954
mov dword [edi], 3
jmp 0x1420984
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0xac]
add ecx, 0xfffffffe
mov dword [esi + 0xa8], ecx
adc eax, 0xffffffff
add ecx, 0xfffffffe
mov dword [esi + 0xac], eax
adc eax, 0xffffffff
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], eax
cmp dword [edi], 3
mov bl, byte [ebp + 0xb]
mov dl, bl
jne 0x1420e19
movzx eax, byte [ebp - 8]
lea edi, [esi + 0x94]
mov byte [esi + 0x92], al
movzx eax, byte [ebp - 3]
push edi
push esi
mov byte [esi + 0x93], al
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
lea eax, [esi + 0x95]
push eax
push esi
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
cmp dword [esi + 0xb8], 2
jne 0x14209fd
movzx ecx, byte [esi + 0x93]
mov al, byte [edi]
not ecx
sar ecx, 5
shr al, 4
and cl, 7
and al, 8
or cl, al
or cl, 0x40
mov byte [esi + 0x68], cl
movzx eax, byte [edi]
and eax, 3
sub eax, 1
je 0x1420cef
mov dl, bl
jmp 0x1420e19
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0xac]
add ecx, 0xfffffffe
mov dword [esi + 0xa8], ecx
adc eax, 0xffffffff
mov dword [esi + 0xac], eax
jmp 0x1420e16
cmp bl, 0xc4
jne 0x1420b3c
push dword [esi + 0xac]
lea eax, [ebp - 4]
push dword [esi + 0xa8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
cmp dword [esi + 0xb8], 2
je 0x1420a9a
mov al, byte [ebp - 4]
and al, 0xc0
cmp al, 0xc0
je 0x1420a9a
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
add eax, 0xffffffff
mov dword [esi + 0xa8], eax
adc ecx, 0xffffffff
mov dword [esi + 0xac], ecx
jmp 0x1420aac
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
mov dword [edi], 2
mov dl, byte [ebp + 0xb]
add eax, 0xffffffff
mov dword [esi + 0xd0], eax
adc ecx, 0xffffffff
mov dword [esi + 0xd4], ecx
cmp dword [edi], 2
jne 0x1420e19
mov al, byte [ebp - 8]
lea ebx, [esi + 0x93]
push ebx
push esi
mov byte [esi + 0x92], al
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
lea edi, [esi + 0x94]
push edi
push esi
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
cmp dword [esi + 0xb8], 2
jne 0x1420b26
movzx ecx, byte [ebx]
mov al, byte [edi]
not ecx
sar ecx, 5
shr al, 4
and cl, 7
and al, 8
or cl, al
or cl, 0x40
mov byte [esi + 0x68], cl
movzx eax, byte [edi]
and eax, 3
sub eax, 1
jne 0x1420e16
mov dl, 1
jmp 0x1420e19
cmp bl, 0xc5
jne 0x1420c04
push dword [esi + 0xac]
lea eax, [ebp - 4]
push dword [esi + 0xa8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
cmp dword [esi + 0xb8], 2
mov eax, edi
je 0x1420bae
mov al, byte [ebp - 4]
and al, 0xc0
cmp al, 0xc0
je 0x1420ba8
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0xac]
add ecx, 0xffffffff
mov dword [esi + 0xa8], ecx
adc eax, 0xffffffff
mov dword [esi + 0xac], eax
lea eax, [esi + 0xcc]
jmp 0x1420bb4
lea eax, [esi + 0xcc]
mov dword [edi], 1
cmp dword [eax], 1
mov bl, byte [ebp + 0xb]
mov dl, bl
jne 0x1420e19
mov al, byte [ebp - 8]
lea edi, [esi + 0x93]
push edi
push esi
mov byte [esi + 0x92], al
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
cmp dword [esi + 0xb8], 2
jne 0x14209fd
movzx eax, byte [edi]
not eax
sar eax, 5
and al, 4
or al, 0x40
mov byte [esi + 0x68], al
jmp 0x14209fd
cmp bl, 0x8f
jne 0x1420cf6
push dword [esi + 0xac]
lea eax, [ebp - 4]
push dword [esi + 0xa8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
test byte [ebp - 4], 0x38
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
je 0x1420c50
mov dword [edi], 4
jmp 0x1420c62
add eax, 0xffffffff
mov dword [esi + 0xa8], eax
adc ecx, 0xffffffff
mov dword [esi + 0xac], ecx
mov dl, byte [ebp + 0xb]
add eax, 0xffffffff
mov dword [esi + 0xd0], eax
adc ecx, 0xffffffff
mov dword [esi + 0xd4], ecx
cmp dword [esi + 0xcc], 4
jne 0x1420e19
mov al, byte [ebp - 8]
lea ebx, [esi + 0x93]
push ebx
push esi
mov byte [esi + 0x92], al
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
lea edi, [esi + 0x94]
push edi
push esi
call fcn.0141e1c0
add esp, 8
test eax, eax
jne 0x1420da2
cmp dword [esi + 0xb8], 2
jne 0x1420ce0
movzx ecx, byte [ebx]
mov al, byte [edi]
not ecx
sar ecx, 5
shr al, 4
and cl, 7
and al, 8
or cl, al
or cl, 0x40
mov byte [esi + 0x68], cl
movzx eax, byte [edi]
and eax, 3
sub eax, 1
jne 0x1420e16
mov dl, 1
jmp 0x1420e19
cmp dword [esi + 0xb8], 2
mov ecx, dword [esi + 0xa8]
jne 0x1420dec
mov edx, dword [esi + 0xac]
and bl, 0xf0
cmp bl, 0x40
jne 0x1420dc6
push edx
push ecx
lea eax, [ebp - 3]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
nop word [eax + eax]
mov al, byte [ebp - 3]
mov ecx, dword [esi + 0xa8]
and al, 0xf0
mov edx, dword [esi + 0xac]
cmp al, 0x40
jne 0x1420dac
push edx
push ecx
lea eax, [ebp - 8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
jne 0x1420da2
add dword [esi + 0xa8], 1
adc dword [esi + 0xac], eax
lea eax, [ebp - 3]
push dword [esi + 0xac]
push dword [esi + 0xa8]
push eax
push dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
call eax
add esp, 0x10
test eax, eax
je 0x1420d40
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 8]
add ecx, 0xfffffffe
mov byte [esi + 0x68], al
adc edx, 0xffffffff
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], edx
jmp 0x1420e16
add ecx, 0xffffffff
mov dword [esi + 0xa8], ecx
adc edx, 0xffffffff
add ecx, 0xffffffff
mov dword [esi + 0xac], edx
adc edx, 0xffffffff
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], edx
jmp 0x1420e16
mov eax, dword [esi + 0xac]
add ecx, 0xffffffff
mov dword [esi + 0xa8], ecx
adc eax, 0xffffffff
add ecx, 0xffffffff
mov dword [esi + 0xac], eax
adc eax, 0xffffffff
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], eax
mov dl, byte [ebp + 0xb]
mov eax, dword [esi + 0xb8]
test eax, eax
jne 0x1420e63
test dl, dl
setne cl
cmp byte [ebp - 1], al
setne al
lea ecx, [ecx*2 + 2]
lea eax, [eax*2 + 2]
mov byte [esi + 0xdc], cl
pop edi
mov byte [esi + 0xd9], al
mov byte [esi + 0xda], al
xor eax, eax
mov byte [esi + 0xdb], cl
mov byte [esi + 0xd8], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1420e76
test dl, dl
sete cl
cmp byte [ebp - 1], 0
sete al
jmp 0x1420e2e
cmp eax, 2
jne 0x1420f2e
mov al, byte [esi + 0x68]
test al, al
je 0x1420eea
test al, 8
je 0x1420ebe
cmp byte [ebp - 1], 0
pop edi
sete al
mov byte [esi + 0xd8], 8
mov word [esi + 0xda], 0x404
mov byte [esi + 0xdc], 4
lea eax, [eax*4 + 4]
mov byte [esi + 0xd9], al
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
je 0x1420eea
test dl, dl
sete cl
cmp byte [ebp - 1], 0
sete al
lea ecx, [ecx*2 + 2]
mov byte [esi + 0xdc], cl
lea eax, [eax*4 + 4]
mov byte [esi + 0xd9], al
jmp 0x1420f1c
test dl, dl
sete cl
cmp byte [ebp - 1], 0
sete al
test dl, dl
lea ecx, [ecx*2 + 2]
lea eax, [eax*4 + 4]
mov byte [esi + 0xd9], al
sete al
lea eax, [eax*4 + 4]
mov byte [esi + 0xdc], al
mov byte [esi + 0xda], cl
mov byte [esi + 0xdb], cl
mov byte [esi + 0xd8], cl
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret