Function at 0x4290e0
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.00428650
test dword [esp + 0x60], 0x1000
mov edx, eax
mov dword [esp + 0x28], edx
jne 0x42929f
nop dword [eax]
cmp byte [esp + 0x12], 5
mov dword [esp + 0x18], esi
jb 0x429189
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 0x4291fc
mov bl, byte [esp + 0x4e]
cmp bl, 0xe8
jne 0x4291b3
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 0x4291fc
mov al, bl
and al, 0xfd
cmp al, 0xe9
jne 0x4292cb
movzx ecx, byte [esp + 0x48]
add ecx, esi
cmp bl, 0xeb
jne 0x4291d4
movsx eax, byte [esp + 0x58]
add ecx, eax
jmp 0x4291d8
add ecx, dword [esp + 0x58]
mov eax, dword [edi]
cmp eax, ecx
ja 0x4292a9
add eax, 5
cmp ecx, eax
jae 0x4292a9
cmp dword [esp + 0x20], ecx
mov ebp, ecx
cmovae ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp esi, ebp
jae 0x42920d
movzx eax, byte [esp + 0x48]
cmp edx, eax
jne 0x42929f
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, 0x20
ja 0x42929f
mov eax, dword [edi + 0x10]
cmp eax, 8
jae 0x42929f
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 0x429380
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.00428650
test dword [esp + 0x60], 0x1000
mov edx, eax
mov dword [esp + 0x28], edx
je 0x429160
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 0x4291fc
mov ch, byte [esp + 0x4f]
mov cl, bl
and cl, 0xf0
cmp cl, 0x70
je 0x429303
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x429303
mov al, ch
and al, 0xf0
cmp al, 0x80
je 0x429303
and bl, 0xfe
cmp bl, 0xc2
jne 0x4291f8
cmp esi, ebp
sbb ebx, ebx
inc ebx
mov dword [esp + 0x14], ebx
jmp 0x4291f8
movzx edx, byte [esp + 0x48]
add edx, esi
cmp cl, 0x70
je 0x42931d
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x42931d
add edx, dword [esp + 0x58]
jmp 0x429324
movsx eax, byte [esp + 0x58]
add edx, eax
mov eax, dword [edi]
cmp eax, edx
ja 0x429345
add eax, 5
cmp edx, eax
jae 0x429345
cmp dword [esp + 0x20], edx
mov ebp, edx
mov edx, dword [esp + 0x28]
cmovae ebp, dword [esp + 0x20]
jmp 0x4291f8
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x42929f
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 0x4291fc
cmp ch, 5
jae 0x42946d
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 0x4293a6
cmp cl, 0x90
je 0x4293a6
cmp cl, 0xcc
jne 0x4293d7
mov esi, 5
mov eax, 1
sub esi, ebx
cmp esi, eax
jbe 0x42946d
nop word [eax + eax]
cmp byte [edx + eax], cl
jne 0x4293d7
inc eax
cmp eax, esi
jb 0x4293c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret
cmp ch, 2
jae 0x42940e
test cl, cl
je 0x4293ee
cmp cl, 0x90
je 0x4293ee
cmp cl, 0xcc
jne 0x42929f
mov esi, 2
mov eax, 1
sub esi, ebx
cmp esi, eax
jbe 0x42940e
nop
cmp byte [edx + eax], cl
jne 0x42929f
inc eax
cmp eax, esi
jb 0x429400
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 0x42929f
test byte [esp + 0x5c], 0xf0
je 0x42929f
mov eax, dword [edi]
mov dl, byte [eax - 5]
test dl, dl
je 0x42944f
cmp dl, 0x90
je 0x42944f
cmp dl, 0xcc
jne 0x42929f
mov ecx, 1
add eax, 0xfffffffc
cmp byte [eax], dl
jne 0x42929f
inc ecx
inc eax
cmp ecx, 5
jb 0x429457
mov dword [edi + 0xc], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret