Function at 0x10112490
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, ecx
mov byte [ebp - 0x34], 0xe8
push ebx
xor cl, cl
mov dword [ebp - 8], eax
push esi
mov esi, dword [eax]
lea edx, [ebp - 0x58]
mov byte [ebp - 2], cl
xor ecx, ecx
push edi
xor edi, edi
mov dword [ebp - 0x20], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], ecx
mov ecx, esi
mov dword [ebp - 0x33], 0
mov byte [ebp - 0x2c], 0xe9
mov dword [ebp - 0x2b], 0
mov word [ebp - 0x3c], 0x800f
mov dword [ebp - 0x3a], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
call fcn.101115a0
test dword [ebp - 0x40], 0x1000
mov ebx, eax
mov dword [ebp - 0x18], ebx
jne 0x101126df
cmp byte [ebp - 1], 5
mov dword [ebp - 0xc], esi
jb 0x1011252c
mov eax, esi
mov dword [ebp - 0x14], 1
sub eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
sub eax, 5
mov ebx, 5
mov dword [ebp - 0x2b], eax
jmp 0x10112653
mov dl, byte [ebp - 0x52]
cmp dl, 0xe8
jne 0x10112553
movzx eax, byte [ebp - 0x58]
lea ecx, [ebp - 0x34]
sub eax, dword [ebp - 0x10]
mov ebx, 5
add eax, 0xfffffffb
add eax, dword [ebp - 0x48]
add eax, esi
mov dword [ebp - 0x33], eax
jmp 0x10112653
mov al, dl
and al, 0xfd
cmp al, 0xe9
jne 0x101125b3
movzx ecx, byte [ebp - 0x58]
add ecx, esi
cmp dl, 0xeb
jne 0x1011256e
movsx eax, byte [ebp - 0x48]
add ecx, eax
jmp 0x10112571
add ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
cmp eax, ecx
ja 0x10112592
add eax, 5
cmp ecx, eax
jae 0x10112592
cmp dword [ebp - 0x20], ecx
mov edi, ecx
cmovae edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
jmp 0x10112659
sub ecx, dword [ebp - 0x10]
mov ebx, 5
sub ecx, 5
cmp esi, edi
mov dword [ebp - 0x2b], ecx
lea ecx, [ebp - 0x2c]
sbb eax, eax
mov dword [ebp - 0xc], ecx
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10112659
mov dh, byte [ebp - 0x51]
mov bl, dl
and bl, 0xf0
cmp bl, 0x70
je 0x101125e5
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x101125e5
mov al, dh
and al, 0xf0
cmp al, 0x80
je 0x101125e5
mov ebx, dword [ebp - 0x18]
and dl, 0xfe
cmp dl, 0xc2
jne 0x10112656
cmp esi, edi
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10112656
movzx ecx, byte [ebp - 0x58]
add ecx, esi
cmp bl, 0x70
je 0x101125fd
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x101125fd
add ecx, dword [ebp - 0x48]
jmp 0x10112603
movsx eax, byte [ebp - 0x48]
add ecx, eax
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
cmp eax, ecx
ja 0x10112624
add eax, 5
cmp ecx, eax
jae 0x10112624
cmp dword [ebp - 0x20], ecx
mov edi, ecx
mov ebx, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
jmp 0x10112656
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x101126df
movzx eax, dl
cmp dl, 0xf
jne 0x1011263b
movzx eax, dh
sub ecx, dword [ebp - 0x10]
and al, 0xf
or al, 0x80
mov ebx, 6
sub ecx, 6
mov byte [ebp - 0x3b], al
mov dword [ebp - 0x3a], ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
cmp esi, edi
jae 0x10112665
movzx eax, byte [ebp - 0x58]
cmp ebx, eax
jne 0x101126df
mov eax, dword [ebp - 0x24]
add eax, ebx
cmp eax, 0x20
ja 0x101126df
mov eax, dword [edx + 0x10]
cmp eax, 8
jae 0x101126df
mov cl, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
mov byte [eax + edx + 0x14], cl
mov eax, dword [edx + 0x10]
mov cl, byte [ebp - 2]
add byte [ebp - 2], bl
movzx edi, cl
mov byte [eax + edx + 0x1c], cl
mov ecx, ebx
mov eax, dword [edx + 8]
add edi, eax
mov bl, byte [ebp - 1]
inc dword [edx + 0x10]
rep movsb byte es:[edi], byte [esi]
add bl, byte [ebp - 0x58]
cmp dword [ebp - 0x14], 0
mov byte [ebp - 1], bl
jne 0x101126e8
movzx ecx, byte [ebp - 2]
mov edi, dword [ebp - 0x1c]
add eax, ecx
movzx esi, bl
add esi, dword [edx]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x24], ecx
mov ecx, esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], eax
call fcn.101115a0
test dword [ebp - 0x40], 0x1000
mov ebx, eax
mov dword [ebp - 0x18], ebx
je 0x10112504
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp bl, 5
jae 0x101127cd
movzx edi, bl
mov ebx, dword [edx]
mov cl, byte [ebx + edi]
lea edx, [ebx + edi]
test cl, cl
je 0x1011270a
cmp cl, 0x90
je 0x1011270a
cmp cl, 0xcc
jne 0x10112736
mov esi, 5
mov eax, 1
sub esi, edi
cmp esi, eax
jbe 0x101127cd
nop
cmp byte [edx + eax], cl
jne 0x10112736
inc eax
cmp eax, esi
jb 0x10112720
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 1], 2
jae 0x1011276e
test cl, cl
je 0x1011274a
cmp cl, 0x90
je 0x1011274a
cmp cl, 0xcc
jne 0x101126df
mov esi, 2
mov eax, 1
sub esi, edi
cmp esi, eax
jbe 0x1011276e
nop word [eax + eax]
cmp byte [edx + eax], cl
jne 0x101126df
inc eax
cmp eax, esi
jb 0x10112760
push 0x1c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebx - 5]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x48], 0x1000
jne 0x101126df
test byte [ebp - 0x44], 0xf0
je 0x101126df
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
mov dl, byte [eax - 5]
test dl, dl
je 0x101127af
cmp dl, 0x90
je 0x101127af
cmp dl, 0xcc
jne 0x101126df
mov ecx, 1
add eax, 0xfffffffc
cmp byte [eax], dl
jne 0x101126df
inc ecx
inc eax
cmp ecx, 5
jb 0x101127b7
mov dword [ebx + 0xc], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret