Function at 0x428590
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.00427b00
test dword [esp + 0x60], 0x1000
mov edx, eax
mov dword [esp + 0x28], edx
jne 0x42874f
nop dword [eax]
cmp byte [esp + 0x12], 5
mov dword [esp + 0x18], esi
jb 0x428639
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 0x4286ac
mov bl, byte [esp + 0x4e]
cmp bl, 0xe8
jne 0x428663
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 0x4286ac
mov al, bl
and al, 0xfd
cmp al, 0xe9
jne 0x42877b
movzx ecx, byte [esp + 0x48]
add ecx, esi
cmp bl, 0xeb
jne 0x428684
movsx eax, byte [esp + 0x58]
add ecx, eax
jmp 0x428688
add ecx, dword [esp + 0x58]
mov eax, dword [edi]
cmp eax, ecx
ja 0x428759
add eax, 5
cmp ecx, eax
jae 0x428759
cmp dword [esp + 0x20], ecx
mov ebp, ecx
cmovae ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp esi, ebp
jae 0x4286bd
movzx eax, byte [esp + 0x48]
cmp edx, eax
jne 0x42874f
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, 0x20
ja 0x42874f
mov eax, dword [edi + 0x10]
cmp eax, 8
jae 0x42874f
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 0x428830
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.00427b00
test dword [esp + 0x60], 0x1000
mov edx, eax
mov dword [esp + 0x28], edx
je 0x428610
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 0x4286ac
mov ch, byte [esp + 0x4f]
mov cl, bl
and cl, 0xf0
cmp cl, 0x70
je 0x4287b3
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x4287b3
mov al, ch
and al, 0xf0
cmp al, 0x80
je 0x4287b3
and bl, 0xfe
cmp bl, 0xc2
jne 0x4286a8
cmp esi, ebp
sbb ebx, ebx
inc ebx
mov dword [esp + 0x14], ebx
jmp 0x4286a8
movzx edx, byte [esp + 0x48]
add edx, esi
cmp cl, 0x70
je 0x4287cd
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x4287cd
add edx, dword [esp + 0x58]
jmp 0x4287d4
movsx eax, byte [esp + 0x58]
add edx, eax
mov eax, dword [edi]
cmp eax, edx
ja 0x4287f5
add eax, 5
cmp edx, eax
jae 0x4287f5
cmp dword [esp + 0x20], edx
mov ebp, edx
mov edx, dword [esp + 0x28]
cmovae ebp, dword [esp + 0x20]
jmp 0x4286a8
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x42874f
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 0x4286ac
cmp ch, 5
jae 0x42891d
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 0x428856
cmp cl, 0x90
je 0x428856
cmp cl, 0xcc
jne 0x428887
mov esi, 5
mov eax, 1
sub esi, ebx
cmp esi, eax
jbe 0x42891d
nop word [eax + eax]
cmp byte [edx + eax], cl
jne 0x428887
inc eax
cmp eax, esi
jb 0x428870
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret
cmp ch, 2
jae 0x4288be
test cl, cl
je 0x42889e
cmp cl, 0x90
je 0x42889e
cmp cl, 0xcc
jne 0x42874f
mov esi, 2
mov eax, 1
sub esi, ebx
cmp esi, eax
jbe 0x4288be
nop
cmp byte [edx + eax], cl
jne 0x42874f
inc eax
cmp eax, esi
jb 0x4288b0
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 0x42874f
test byte [esp + 0x5c], 0xf0
je 0x42874f
mov eax, dword [edi]
mov dl, byte [eax - 5]
test dl, dl
je 0x4288ff
cmp dl, 0x90
je 0x4288ff
cmp dl, 0xcc
jne 0x42874f
mov ecx, 1
add eax, 0xfffffffc
cmp byte [eax], dl
jne 0x42874f
inc ecx
inc eax
cmp ecx, 5
jb 0x428907
mov dword [edi + 0xc], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret