Function at 0x594e20
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x64916c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov byte [ebp - 0x48], 0xe8
mov dword [ebp - 0x47], eax
mov byte [ebp - 0x38], 0xe9
mov dword [ebp - 0x37], eax
mov word [ebp - 0x40], 0x800f
mov dword [ebp - 0x3e], eax
mov byte [ebp - 0x21], al
mov byte [ebp - 0x22], al
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
movzx eax, byte [ebp - 0x22]
mov esi, dword [ebx + 8]
movzx edi, byte [ebp - 0x21]
add edi, dword [ebx]
mov dword [ebp - 0x50], eax
add esi, eax
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.005950e0
add esp, 8
test dword [ebp - 8], 0x1000
mov edx, eax
mov dword [ebp - 0x4c], edx
jne 0x5950ca
cmp byte [ebp - 0x21], 5
mov dword [ebp - 0x2c], edi
jb 0x594ebc
mov ecx, edi
sub ecx, esi
lea edx, [ebp - 0x38]
sub ecx, 5
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x37], ecx
mov edx, 5
mov dword [ebp - 0x30], 1
jmp 0x594fe2
mov al, byte [ebp - 0x1a]
cmp al, 0xe8
jne 0x594ee3
movzx eax, byte [ebp - 0x20]
sub eax, esi
add eax, dword [ebp - 0x10]
lea edx, [ebp - 0x48]
lea ecx, [eax + edi - 5]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x47], ecx
mov edx, 5
jmp 0x594fe2
mov cl, al
and cl, 0xfd
cmp cl, 0xe9
jne 0x594f41
movzx ecx, byte [ebp - 0x20]
add ecx, edi
cmp al, 0xeb
jne 0x594eff
movsx eax, byte [ebp - 0x10]
add ecx, eax
jmp 0x594f02
add ecx, dword [ebp - 0x10]
mov eax, dword [ebx]
cmp eax, ecx
ja 0x594f20
add eax, 5
cmp ecx, eax
jae 0x594f20
cmp dword [ebp - 0x28], ecx
jae 0x594fe2
mov dword [ebp - 0x28], ecx
jmp 0x594fe2
sub ecx, esi
sub ecx, 5
cmp edi, dword [ebp - 0x28]
mov dword [ebp - 0x37], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
sbb ecx, ecx
inc ecx
mov edx, 5
mov dword [ebp - 0x30], ecx
jmp 0x594fe2
mov cl, al
and cl, 0xf0
mov byte [ebp - 0x23], cl
cmp cl, 0x70
je 0x594f74
mov cl, al
and cl, 0xfc
cmp cl, 0xe0
je 0x594f74
mov cl, byte [ebp - 0x19]
and cl, 0xf0
cmp cl, 0x80
je 0x594f74
and al, 0xfe
cmp al, 0xc2
jne 0x594fe2
cmp edi, dword [ebp - 0x28]
sbb eax, eax
inc eax
mov dword [ebp - 0x30], eax
jmp 0x594fe2
movzx ecx, byte [ebp - 0x20]
add ecx, edi
cmp byte [ebp - 0x23], 0x70
je 0x594f8f
mov dl, al
and dl, 0xfc
cmp dl, 0xe0
je 0x594f8f
add ecx, dword [ebp - 0x10]
jmp 0x594f95
movsx edx, byte [ebp - 0x10]
add ecx, edx
mov edx, dword [ebx]
cmp edx, ecx
ja 0x594faf
add edx, 5
cmp ecx, edx
jae 0x594faf
mov edx, dword [ebp - 0x4c]
cmp dword [ebp - 0x28], ecx
jae 0x594fe2
mov dword [ebp - 0x28], ecx
jmp 0x594fe2
mov dl, al
and dl, 0xfc
cmp dl, 0xe0
je 0x5950ca
cmp al, 0xf
movzx eax, al
jne 0x594fc8
movzx eax, byte [ebp - 0x19]
and al, 0xf
or al, 0x80
sub ecx, esi
mov byte [ebp - 0x3f], al
sub ecx, 6
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3e], ecx
mov dword [ebp - 0x2c], eax
mov edx, 6
cmp edi, dword [ebp - 0x28]
jae 0x594ff3
movzx ecx, byte [ebp - 0x20]
cmp edx, ecx
jne 0x5950ca
mov ecx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, 0x20
ja 0x5950ca
mov esi, dword [ebx + 0x10]
cmp esi, 8
jae 0x5950ca
movzx eax, byte [ebp - 0x21]
mov byte [esi + ebx + 0x14], al
mov esi, dword [ebx + 0x10]
mov al, byte [ebp - 0x22]
mov byte [esi + ebx + 0x1c], al
mov edi, dword [ebx + 8]
inc dword [ebx + 0x10]
mov esi, dword [ebp - 0x2c]
add al, dl
add edi, ecx
mov byte [ebp - 0x22], al
mov al, byte [ebp - 0x21]
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
add al, byte [ebp - 0x20]
cmp dword [ebp - 0x30], 0
mov byte [ebp - 0x21], al
je 0x594e61
cmp al, 5
jae 0x5950b4
mov esi, dword [ebx]
movzx edi, al
mov edx, 5
add esi, edi
sub edx, edi
call fcn.00594df0
test eax, eax
jne 0x5950b4
mov edx, 2
cmp byte [ebp - 0x21], dl
jae 0x595077
sub edx, edi
call fcn.00594df0
test eax, eax
je 0x5950ca
mov eax, dword [ebx]
add eax, 0xfffffffb
push eax
call fcn.00594db0
add esp, 4
test eax, eax
je 0x5950ca
mov eax, dword [ebx]
mov cl, byte [eax - 5]
test cl, cl
je 0x59509c
cmp cl, 0x90
je 0x59509c
cmp cl, 0xcc
jne 0x5950ca
mov esi, 1
cmp byte [esi + eax - 5], cl
jne 0x5950ca
inc esi
cmp esi, 5
jb 0x5950a1
mov dword [ebx + 0xc], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059ea5e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0059ea5e
mov esp, ebp
pop ebp
ret