Function at 0x4210b0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov byte [esp + 0x38], 0xe8
xor cl, cl
mov dword [esp + 0x2c], edi
xor ebp, ebp
mov byte [esp + 0x13], cl
lea edx, [esp + 0x48]
mov dword [esp + 0x39], 0
mov esi, dword [edi]
mov ecx, esi
mov ebx, dword [edi + 8]
mov byte [esp + 0x30], 0xe9
mov dword [esp + 0x31], 0
mov word [esp + 0x40], 0x800f
mov dword [esp + 0x42], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
call fcn.00420620
test dword [esp + 0x60], 0x1000
mov edx, eax
mov dword [esp + 0x28], edx
jne 0x42126f
nop dword [eax]
cmp byte [esp + 0x12], 5
mov dword [esp + 0x18], esi
jb 0x421159
mov eax, esi
mov dword [esp + 0x14], 1
sub eax, ebx
lea ecx, [esp + 0x30]
sub eax, 5
mov edx, 5
mov dword [esp + 0x31], eax
jmp 0x4211cc
mov bl, byte [esp + 0x4e]
cmp bl, 0xe8
jne 0x421183
movzx eax, byte [esp + 0x48]
lea ecx, [esp + 0x38]
sub eax, dword [esp + 0x1c]
mov edx, 5
add eax, 0xfffffffb
add eax, dword [esp + 0x58]
add eax, esi
mov dword [esp + 0x39], eax
jmp 0x4211cc
mov al, bl
and al, 0xfd
cmp al, 0xe9
jne 0x42129b
movzx ecx, byte [esp + 0x48]
add ecx, esi
cmp bl, 0xeb
jne 0x4211a4
movsx eax, byte [esp + 0x58]
add ecx, eax
jmp 0x4211a8
add ecx, dword [esp + 0x58]
mov eax, dword [edi]
cmp eax, ecx
ja 0x421279
add eax, 5
cmp ecx, eax
jae 0x421279
cmp dword [esp + 0x20], ecx
mov ebp, ecx
cmovae ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp esi, ebp
jae 0x4211dd
movzx eax, byte [esp + 0x48]
cmp edx, eax
jne 0x42126f
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, 0x20
ja 0x42126f
mov eax, dword [edi + 0x10]
cmp eax, 8
jae 0x42126f
mov bl, byte [esp + 0x12]
mov esi, ecx
mov byte [eax + edi + 0x14], bl
mov ecx, edx
mov eax, dword [edi + 0x10]
mov bl, byte [esp + 0x13]
mov byte [eax + edi + 0x1c], bl
inc dword [edi + 0x10]
mov eax, dword [edi + 8]
movzx edi, bl
add bl, dl
add edi, eax
mov byte [esp + 0x13], bl
rep movsb byte es:[edi], byte [esi]
mov ch, byte [esp + 0x12]
add ch, byte [esp + 0x48]
cmp dword [esp + 0x14], 0
mov byte [esp + 0x12], ch
jne 0x421350
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x48]
movzx esi, ch
movzx ecx, bl
mov dword [esp + 0x24], ecx
add esi, dword [edi]
mov dword [esp + 0x20], ebp
lea ebx, [eax + ecx]
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.00420620
test dword [esp + 0x60], 0x1000
mov edx, eax
mov dword [esp + 0x28], edx
je 0x421130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
sub ecx, dword [esp + 0x1c]
mov edx, 5
sub ecx, 5
cmp esi, ebp
mov dword [esp + 0x31], ecx
lea ecx, [esp + 0x30]
sbb ebx, ebx
inc ebx
mov dword [esp + 0x14], ebx
jmp 0x4211cc
mov ch, byte [esp + 0x4f]
mov cl, bl
and cl, 0xf0
cmp cl, 0x70
je 0x4212d3
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x4212d3
mov al, ch
and al, 0xf0
cmp al, 0x80
je 0x4212d3
and bl, 0xfe
cmp bl, 0xc2
jne 0x4211c8
cmp esi, ebp
sbb ebx, ebx
inc ebx
mov dword [esp + 0x14], ebx
jmp 0x4211c8
movzx edx, byte [esp + 0x48]
add edx, esi
cmp cl, 0x70
je 0x4212ed
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x4212ed
add edx, dword [esp + 0x58]
jmp 0x4212f4
movsx eax, byte [esp + 0x58]
add edx, eax
mov eax, dword [edi]
cmp eax, edx
ja 0x421315
add eax, 5
cmp edx, eax
jae 0x421315
cmp dword [esp + 0x20], edx
mov ebp, edx
mov edx, dword [esp + 0x28]
cmovae ebp, dword [esp + 0x20]
jmp 0x4211c8
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x42126f
cmp bl, 0xf
movzx ecx, ch
movzx eax, bl
cmovne ecx, eax
sub edx, dword [esp + 0x1c]
and cl, 0xf
or cl, 0x80
sub edx, 6
mov byte [esp + 0x41], cl
lea ecx, [esp + 0x40]
mov dword [esp + 0x42], edx
mov edx, 6
jmp 0x4211cc
cmp ch, 5
jae 0x42143d
mov edi, dword [esp + 0x2c]
movzx ebx, ch
mov ebp, dword [edi]
mov cl, byte [ebx + ebp]
lea edx, [ebx + ebp]
test cl, cl
je 0x421376
cmp cl, 0x90
je 0x421376
cmp cl, 0xcc
jne 0x4213a7
mov esi, 5
mov eax, 1
sub esi, ebx
cmp esi, eax
jbe 0x42143d
nop word [eax + eax]
cmp byte [edx + eax], cl
jne 0x4213a7
inc eax
cmp eax, esi
jb 0x421390
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret
cmp ch, 2
jae 0x4213de
test cl, cl
je 0x4213be
cmp cl, 0x90
je 0x4213be
cmp cl, 0xcc
jne 0x42126f
mov esi, 2
mov eax, 1
sub esi, ebx
cmp esi, eax
jbe 0x4213de
nop
cmp byte [edx + eax], cl
jne 0x42126f
inc eax
cmp eax, esi
jb 0x4213d0
push 0x1c
lea eax, [esp + 0x4c]
push eax
lea eax, [ebp - 5]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [esp + 0x58], 0x1000
jne 0x42126f
test byte [esp + 0x5c], 0xf0
je 0x42126f
mov eax, dword [edi]
mov dl, byte [eax - 5]
test dl, dl
je 0x42141f
cmp dl, 0x90
je 0x42141f
cmp dl, 0xcc
jne 0x42126f
mov ecx, 1
add eax, 0xfffffffc
cmp byte [eax], dl
jne 0x42126f
inc ecx
inc eax
cmp ecx, 5
jb 0x421427
mov dword [edi + 0xc], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret