Function at 0x10007cd0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
xor al, al
xor cl, cl
mov byte [esp + 0x24], 0xe8
xor ebp, ebp
mov dword [esp + 0x25], 0
push edi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x21], 0
mov word [esp + 0x30], 0x800f
mov dword [esp + 0x32], 0
mov byte [esp + 0x12], al
mov byte [esp + 0x13], cl
mov dword [esp + 0x14], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
nop dword [eax]
movzx edi, al
mov eax, dword [esi + 8]
add edi, dword [esi]
movzx ecx, cl
add eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x38]
push eax
push edi
call fcn.10007fd0
add esp, 8
mov ebx, eax
test dword [esp + 0x50], 0x1000
jne 0x10007fc2
mov dl, byte [esp + 0x12]
mov ecx, edi
mov dword [esp + 0x18], ecx
cmp dl, 5
jb 0x10007d85
mov eax, edi
mov dword [esp + 0x14], 1
sub eax, dword [esp + 0x58]
lea ecx, [esp + 0x20]
sub eax, 5
mov ebx, 5
mov dword [esp + 0x21], eax
jmp 0x10007ecb
mov dl, byte [esp + 0x3e]
cmp dl, 0xe8
jne 0x10007db8
mov dh, byte [esp + 0x38]
lea ecx, [esp + 0x28]
mov dl, byte [esp + 0x12]
mov ebx, 5
movzx eax, dh
sub eax, dword [esp + 0x58]
add eax, 0xfffffffb
add eax, dword [esp + 0x48]
add eax, edi
mov dword [esp + 0x29], eax
jmp 0x10007ecf
mov al, dl
and al, 0xfd
cmp al, 0xe9
jne 0x10007e22
mov dh, byte [esp + 0x38]
movzx ecx, dh
add ecx, edi
cmp dl, 0xeb
jne 0x10007dd7
movsx eax, byte [esp + 0x48]
add ecx, eax
jmp 0x10007ddb
add ecx, dword [esp + 0x48]
mov eax, dword [esi]
cmp eax, ecx
ja 0x10007dfc
add eax, 5
cmp ecx, eax
jae 0x10007dfc
mov dl, byte [esp + 0x12]
cmp ebp, ecx
cmovae ecx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x18]
jmp 0x10007ecf
sub ecx, dword [esp + 0x58]
mov ebx, 5
mov dl, byte [esp + 0x12]
sub ecx, 5
cmp edi, ebp
mov dword [esp + 0x21], ecx
lea ecx, [esp + 0x20]
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x10007ecf
mov dh, byte [esp + 0x3f]
mov ah, dl
and ah, 0xf0
cmp ah, 0x70
je 0x10007e57
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x10007e57
mov al, dh
and al, 0xf0
cmp al, 0x80
je 0x10007e57
and dl, 0xfe
cmp dl, 0xc2
mov dl, byte [esp + 0x12]
jne 0x10007ecb
cmp edi, ebp
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x10007ecb
mov al, byte [esp + 0x38]
movzx ecx, al
add ecx, edi
cmp ah, 0x70
je 0x10007e73
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x10007e73
add ecx, dword [esp + 0x48]
jmp 0x10007e7a
movsx eax, byte [esp + 0x48]
add ecx, eax
mov eax, dword [esi]
cmp eax, ecx
ja 0x10007e94
add eax, 5
cmp ecx, eax
jae 0x10007e94
cmp ebp, ecx
cmovae ecx, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x18]
jmp 0x10007ec7
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x10007fc2
movzx eax, dl
cmp dl, 0xf
jne 0x10007eab
movzx eax, dh
sub ecx, dword [esp + 0x58]
and al, 0xf
or al, 0x80
mov ebx, 6
sub ecx, 6
mov byte [esp + 0x31], al
mov dword [esp + 0x32], ecx
lea ecx, [esp + 0x30]
mov dl, byte [esp + 0x12]
mov dh, byte [esp + 0x38]
cmp edi, ebp
jae 0x10007ede
movzx eax, dh
cmp ebx, eax
jne 0x10007fc2
mov edi, dword [esp + 0x1c]
lea eax, [edi + ebx]
cmp eax, 0x20
ja 0x10007fc2
mov eax, dword [esi + 0x10]
cmp eax, 8
jae 0x10007fc2
mov byte [eax + esi + 0x14], dl
mov eax, dword [esi + 0x10]
mov dl, byte [esp + 0x13]
push ebx
push ecx
mov byte [eax + esi + 0x1c], dl
mov eax, dword [esi + 8]
inc dword [esi + 0x10]
add eax, edi
push eax
call sub.MSVCRT20.dll_memcpy
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov al, byte [esp + 0x12]
add cl, bl
add al, byte [esp + 0x38]
cmp dword [esp + 0x14], 0
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], al
je 0x10007d20
cmp al, 5
jae 0x10007fb5
mov ebx, dword [esi]
movzx edi, al
mov eax, 5
sub eax, edi
push eax
lea ebp, [ebx + edi]
push ebp
call fcn.100088f0
add esp, 8
test eax, eax
jne 0x10007fb5
cmp byte [esp + 0x12], 2
jae 0x10007f7a
mov eax, 2
sub eax, edi
push eax
push ebp
call fcn.100088f0
add esp, 8
test eax, eax
je 0x10007fc2
lea eax, [ebx - 5]
push eax
call fcn.10001e10
add esp, 4
test eax, eax
je 0x10007fc2
mov edx, dword [esi]
mov cl, byte [edx - 5]
test cl, cl
je 0x10007f9d
cmp cl, 0x90
je 0x10007f9d
cmp cl, 0xcc
jne 0x10007fc2
mov eax, 1
cmp byte [edx + eax - 5], cl
jne 0x10007fc2
inc eax
cmp eax, 5
jb 0x10007fa2
mov dword [esi + 0xc], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret