Function at 0x5b9c3d
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 0x38], 0xe8
xor dl, dl
mov dword [ebp - 0x54], edi
xor dh, dh
mov dword [ebp - 0x37], 0
mov byte [ebp - 0xc], 0xe9
mov dword [ebp - 0xb], 0
mov word [ebp - 0x30], 0x800f
mov dword [ebp - 0x2e], 0
mov byte [ebp - 0x39], dl
mov byte [ebp - 0x3a], dh
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov ebx, dword [edi + 8]
xorps xmm0, xmm0
movzx esi, dl
add esi, dword [edi]
movzx eax, dh
mov ecx, esi
add ebx, eax
movq qword [ebp - 0x18], xmm0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ebx
call fcn.005b463d
test dword ds:[ebp - 0x10], 0x1000
mov dword [ebp - 0x48], eax
jne 0x5b9ff6
cmp byte [ebp - 0x39], 5
mov dword [ebp - 0x44], esi
jb 0x5b9d0d
mov eax, esi
mov dword [ebp - 0x4c], 1
sub eax, ebx
lea edx, [ebp - 0xc]
sub eax, 5
mov dword [ebp - 0x44], edx
mov dword [ebp - 0xb], eax
mov ebx, 5
jmp 0x5b9e5c
mov bl, byte [ebp - 0x22]
cmp bl, 0xe8
jne 0x5b9d39
mov cl, byte [ebp - 0x28]
lea edx, [ebp - 0x38]
movzx eax, cl
mov ebx, 5
sub eax, dword [ebp - 0x50]
add eax, 0xfffffffb
mov dword [ebp - 0x44], edx
add eax, dword [ebp - 0x18]
add eax, esi
mov dword [ebp - 0x37], eax
jmp 0x5b9e5f
mov al, bl
and al, 0xfd
cmp al, 0xe9
jne 0x5b9da9
movzx ecx, byte [ebp - 0x28]
add ecx, esi
cmp bl, 0xeb
jne 0x5b9d54
movsx eax, byte [ebp - 0x18]
add ecx, eax
jmp 0x5b9d57
add ecx, dword [ebp - 0x18]
mov eax, dword ds:[edi]
cmp eax, ecx
ja 0x5b9d82
add eax, 5
cmp ecx, eax
jae 0x5b9d82
cmp dword ds:[ebp - 0x40], ecx
mov ebx, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x40]
mov eax, ecx
mov cl, byte [ebp - 0x28]
mov dword [ebp - 0x40], eax
jmp 0x5b9e62
sub ecx, dword [ebp - 0x50]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x40]
sub ecx, 5
cmp esi, eax
mov dword [ebp - 0xb], ecx
mov dword [ebp - 0x44], edx
mov ebx, 5
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x4c], ecx
mov cl, byte [ebp - 0x28]
jmp 0x5b9e62
mov ch, byte [ebp - 0x21]
mov cl, bl
and cl, 0xf0
cmp cl, 0x70
je 0x5b9de8
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x5b9de8
mov al, ch
and al, 0xf0
cmp al, 0x80
je 0x5b9de8
and bl, 0xfe
cmp bl, 0xc2
mov ebx, dword [ebp - 0x48]
jne 0x5b9e5c
mov eax, dword [ebp - 0x40]
cmp esi, eax
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x4c], ecx
mov cl, byte [ebp - 0x28]
jmp 0x5b9e62
movzx edx, byte [ebp - 0x28]
add edx, esi
cmp cl, 0x70
je 0x5b9e00
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x5b9e00
add edx, dword [ebp - 0x18]
jmp 0x5b9e06
movsx eax, byte [ebp - 0x18]
add edx, eax
mov eax, dword [edi]
cmp eax, edx
ja 0x5b9e27
add eax, 5
cmp edx, eax
jae 0x5b9e27
cmp dword [ebp - 0x40], edx
mov ebx, dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x40]
mov cl, byte [ebp - 0x28]
mov eax, edx
mov dword [ebp - 0x40], eax
jmp 0x5b9e62
mov al, bl
and al, 0xfc
cmp al, 0xe0
je 0x5b9ff6
cmp bl, 0xf
movzx eax, bl
movzx ecx, ch
mov ebx, 6
cmovne ecx, eax
sub edx, dword [ebp - 0x50]
and cl, 0xf
lea eax, [ebp - 0x30]
or cl, 0x80
mov dword [ebp - 0x44], eax
sub edx, 6
mov byte [ebp - 0x2f], cl
mov dword [ebp - 0x2e], edx
mov cl, byte [ebp - 0x28]
mov eax, dword [ebp - 0x40]
cmp esi, eax
jae 0x5b9e71
movzx eax, cl
cmp ebx, eax
jne 0x5b9ff6
mov ecx, dword ds:[ebp - 0x58]
mov eax, ecx
cdq
add eax, ebx
adc edx, 0
test edx, edx
ja 0x5b9ff6
jb 0x5b9e90
cmp eax, 0x20
ja 0x5b9ff6
mov eax, dword [edi + 0x10]
cmp eax, 8
jae 0x5b9ff6
mov dl, byte [ebp - 0x39]
mov dh, byte [ebp - 0x3a]
mov esi, dword [ebp - 0x44]
mov byte [eax + edi + 0x14], dl
mov eax, dword [edi + 0x10]
mov byte [eax + edi + 0x1c], dh
add dh, bl
inc dword [edi + 0x10]
mov edi, dword [edi + 8]
add edi, ecx
mov byte [ebp - 0x3a], dh
mov ecx, ebx
rep movsb byte es:[edi], byte [esi]
add dl, byte [ebp - 0x28]
cmp dword [ebp - 0x4c], 0
mov edi, dword [ebp - 0x54]
mov byte [ebp - 0x39], dl
je 0x5b9c9e
nop word [eax + eax]
cmp dl, 5
jae 0x5b9fe0
mov esi, edi
movzx ebx, dl
mov edi, dword [esi]
mov cl, byte [edi + ebx]
lea edx, [edi + ebx]
test cl, cl
je 0x5b9f02
cmp cl, 0x90
je 0x5b9f02
nop
cmp cl, 0xcc
jne 0x5b9f40
mov edi, 5
mov eax, 1
sub edi, ebx
cmp edi, eax
jbe 0x5b9fe0
nop dword [eax]
cmp byte [edx + eax], cl
jne 0x5b9f3e
inc eax
cmp eax, edi
jb 0x5b9f1d
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ba6ee
mov esp, ebp
pop ebp
ret
mov edi, dword [esi]
cmp byte [ebp - 0x39], 2
jae 0x5b9f7b
test cl, cl
je 0x5b9f58
cmp cl, 0x90
je 0x5b9f58
cmp cl, 0xcc
jne 0x5b9ff6
mov ecx, 2
mov eax, 1
sub ecx, ebx
cmp ecx, eax
jbe 0x5b9f7b
mov bl, byte [edx]
nop dword [eax]
cmp byte [edx + eax], bl
jne 0x5b9ff6
inc eax
cmp eax, ecx
jb 0x5b9f6d
push 0x1c
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0
push eax
xorps xmm0, xmm0
lea eax, [edi - 5]
push eax
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call dword [0x1004c008]
cmp dword [ebp - 0x18], 0x1000
jne 0x5b9ff6
test byte [ebp - 0x14], 0xf0
je 0x5b9ff6
mov edx, dword [esi]
mov cl, byte [edx - 5]
test cl, cl
je 0x5b9fc7
nop
cmp cl, 0x90
je 0x5b9fc7
cmp cl, 0xcc
jne 0x5b9ff6
mov eax, 1
nop
cmp byte [edx + eax - 5], cl
jne 0x5b9ff6
inc eax
cmp eax, 5
jb 0x5b9fcd
mov dword [esi + 0xc], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ba6ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ba6ee
mov esp, ebp
pop ebp
ret