Function at 0x100107f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov byte [ebp - 0x24], 0xe8
mov dword [ebp - 0x23], eax
mov byte [ebp - 0x1c], 0xe9
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x2c], 0x800f
mov dword [ebp - 0x2a], eax
mov byte [ebp + 0xb], al
mov byte [ebp - 1], al
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
jmp 0x10010830
movzx edi, byte [ebp + 0xb]
movzx eax, byte [ebp - 1]
add edi, dword [ebx]
mov esi, dword [ebx + 8]
push edi
lea edx, [ebp - 0x48]
mov dword [ebp - 0x14], eax
add esi, eax
call fcn.1000f820
add esp, 4
test dword [ebp - 0x30], 0x1000
jne 0x10010a8f
cmp byte [ebp + 0xb], 5
mov dword [ebp - 0xc], edi
jb 0x10010885
mov eax, edi
sub eax, esi
sub eax, 5
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0xc], ecx
mov eax, 5
mov dword [ebp - 0x10], 1
jmp 0x100109af
mov dl, byte [ebp - 0x42]
cmp dl, 0xe8
jne 0x100108ad
movzx edx, byte [ebp - 0x48]
sub edx, esi
add edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
lea eax, [edx + edi - 5]
mov dword [ebp - 0x23], eax
mov dword [ebp - 0xc], ecx
mov eax, 5
jmp 0x100109af
mov cl, dl
and cl, 0xfd
cmp cl, 0xe9
jne 0x1001090c
movzx ecx, byte [ebp - 0x48]
add ecx, edi
cmp dl, 0xeb
jne 0x100108ca
movsx edx, byte [ebp - 0x38]
add ecx, edx
jmp 0x100108cd
add ecx, dword [ebp - 0x38]
mov edx, dword [ebx]
cmp edx, ecx
ja 0x100108eb
add edx, 5
cmp ecx, edx
jae 0x100108eb
cmp dword [ebp - 8], ecx
jae 0x100109af
mov dword [ebp - 8], ecx
jmp 0x100109af
sub ecx, esi
sub ecx, 5
cmp edi, dword [ebp - 8]
mov dword [ebp - 0x1b], ecx
lea eax, [ebp - 0x1c]
sbb ecx, ecx
inc ecx
mov dword [ebp - 0xc], eax
mov eax, 5
mov dword [ebp - 0x10], ecx
jmp 0x100109af
and dl, 0xf0
cmp dl, 0x70
je 0x10010941
mov cl, byte [ebp - 0x42]
and cl, 0xfc
cmp cl, 0xe0
je 0x10010941
mov cl, byte [ebp - 0x41]
and cl, 0xf0
cmp cl, 0x80
je 0x10010941
movzx ecx, byte [ebp - 0x42]
and cl, 0xfe
cmp cl, 0xc2
jne 0x100109af
cmp edi, dword [ebp - 8]
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x100109af
movzx ecx, byte [ebp - 0x48]
add ecx, edi
cmp dl, 0x70
je 0x1001095c
mov dl, byte [ebp - 0x42]
and dl, 0xfc
cmp dl, 0xe0
je 0x1001095c
add ecx, dword [ebp - 0x38]
jmp 0x10010962
movsx edx, byte [ebp - 0x38]
add ecx, edx
mov edx, dword [ebx]
cmp edx, ecx
ja 0x10010979
add edx, 5
cmp ecx, edx
jae 0x10010979
cmp dword [ebp - 8], ecx
jae 0x100109af
mov dword [ebp - 8], ecx
jmp 0x100109af
mov al, byte [ebp - 0x42]
mov dl, al
and dl, 0xfc
cmp dl, 0xe0
je 0x10010a8f
cmp al, 0xf
movzx eax, al
jne 0x10010995
movzx eax, byte [ebp - 0x41]
and al, 0xf
or al, 0x80
mov byte [ebp - 0x2b], al
sub ecx, esi
lea eax, [ebp - 0x2c]
sub ecx, 6
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2a], ecx
mov eax, 6
cmp edi, dword [ebp - 8]
jae 0x100109c0
movzx ecx, byte [ebp - 0x48]
cmp eax, ecx
jne 0x10010a8f
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax]
cmp edx, 0x20
ja 0x10010a8f
mov esi, dword [ebx + 0x10]
cmp esi, 8
jae 0x10010a8f
movzx edx, byte [ebp + 0xb]
mov byte [esi + ebx + 0x14], dl
mov esi, dword [ebx + 0x10]
mov dl, byte [ebp - 1]
mov byte [esi + ebx + 0x1c], dl
mov edi, dword [ebx + 8]
inc dword [ebx + 0x10]
mov esi, dword [ebp - 0xc]
add edi, ecx
add dl, al
mov ecx, eax
mov al, byte [ebp + 0xb]
add al, byte [ebp - 0x48]
cmp dword [ebp - 0x10], 0
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 1], dl
mov byte [ebp + 0xb], al
je 0x10010830
cmp al, 5
jae 0x10010a83
mov esi, dword [ebx]
movzx edi, al
mov edx, 5
add esi, edi
sub edx, edi
call fcn.100107c0
test eax, eax
jne 0x10010a83
mov edx, 2
cmp byte [ebp + 0xb], dl
jae 0x10010a44
sub edx, edi
call fcn.100107c0
test eax, eax
je 0x10010a8f
mov ecx, dword [ebx]
add ecx, 0xfffffffb
call fcn.1000f7e0
test eax, eax
je 0x10010a8f
mov eax, dword [ebx]
mov cl, byte [eax - 5]
test cl, cl
je 0x10010a65
cmp cl, 0x90
je 0x10010a65
cmp cl, 0xcc
jne 0x10010a8f
mov esi, 1
lea ebx, [ebx]
cmp byte [esi + eax - 5], cl
jne 0x10010a8f
inc esi
cmp esi, 5
jb 0x10010a70
mov dword [ebx + 0xc], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret