Function at 0x5dfc8e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx]
lea esi, [eax + 1]
cmp esi, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
ja 0x5dff1f
movzx eax, byte [eax]
test al, al
mov dword [ebp + 0xc], esi
jns 0x5dff1f
mov ecx, eax
and ecx, 0x3f
test al, 8
mov dword [ebp - 0x18], ecx
je 0x5dfcec
push dword [ebp + 0x10]
lea ebx, [ebp + 0xc]
call fcn.005df5f9
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x5dff26
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
lea eax, [ebx + ecx]
cmp eax, edx
jbe 0x5dfd37
add eax, 3
and eax, 0xfffffffc
cmp eax, 0x40
mov dword [ebp + 0xc], eax
ja 0x5dff1f
lea ecx, [ebp - 8]
push ecx
push dword [edi + 0x18]
push eax
push edx
push 0x18
push dword [ebp - 0x14]
call fcn.005c75e6
add esp, 0x18
cmp dword [ebp - 8], 0
mov dword [edi + 0x18], eax
jne 0x5dff26
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x14], eax
and dword [ebp - 0x14], 0
imul ebx, ebx, 0x18
add ebx, dword [edi + 0x18]
test ecx, ecx
mov eax, ebx
jbe 0x5dff26
lea ecx, [esi + 3]
mov dword [ebp - 4], ecx
lea ecx, [esi + 1]
push 2
mov dword [ebp + 0xc], ecx
lea edi, [esi + 2]
pop ecx
mov edx, dword [ebp + 0xc]
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
cmp edx, dword [ebp + 0x10]
ja 0x5dff1f
movzx edx, byte [esi]
inc esi
inc dword [ebp + 0xc]
inc dword [ebp - 4]
inc edi
test dl, 0x10
mov dword [ebp - 0xc], edx
mov dword [eax], 0x10000
je 0x5dfdb0
cmp edi, dword [ebp + 0x10]
ja 0x5dff1f
add dword [ebp + 0xc], ecx
add dword [ebp - 4], ecx
xor edx, edx
add esi, ecx
mov dh, byte [esi - 2]
movzx ebx, byte [esi - 1]
add edi, ecx
movsx edx, dx
or edx, ebx
shl edx, 4
mov dword [eax], edx
test byte [ebp - 0xc], 0x20
mov dword [eax + 4], 0x10000
je 0x5dfde4
cmp edi, dword [ebp + 0x10]
ja 0x5dff1f
add dword [ebp + 0xc], ecx
add dword [ebp - 4], ecx
xor edx, edx
add esi, ecx
mov dh, byte [esi - 2]
movzx ebx, byte [esi - 1]
add edi, ecx
movsx edx, dx
or edx, ebx
shl edx, 4
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
and edx, 3
dec edx
je 0x5dfe09
dec edx
jne 0x5dfe2d
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
ja 0x5dff1f
movsx edx, byte [esi]
inc esi
inc dword [ebp + 0xc]
inc dword [ebp - 4]
inc edi
jmp 0x5dfe2a
cmp edi, dword [ebp + 0x10]
ja 0x5dff1f
add dword [ebp + 0xc], ecx
add dword [ebp - 4], ecx
add esi, ecx
movzx ebx, byte [esi - 1]
xor edx, edx
mov dh, byte [esi - 2]
add edi, ecx
movsx edx, dx
or edx, ebx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
shr edx, 2
and edx, 3
dec edx
je 0x5dfe55
dec edx
jne 0x5dfe78
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp + 0x10]
ja 0x5dff1f
movsx edx, byte [esi]
inc esi
inc dword [ebp + 0xc]
inc dword [ebp - 4]
inc edi
jmp 0x5dfe7b
cmp edi, dword [ebp + 0x10]
ja 0x5dff1f
add dword [ebp + 0xc], ecx
add dword [ebp - 4], ecx
add esi, ecx
movzx ebx, byte [esi - 1]
xor edx, edx
mov dh, byte [esi - 2]
add edi, ecx
movsx edx, dx
or edx, ebx
jmp 0x5dfe7b
mov edx, dword [ebp - 0x1c]
test byte [ebp - 0xc], 0x40
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], ebx
je 0x5dfea9
cmp edi, edx
ja 0x5dff1f
add dword [ebp + 0xc], ecx
add dword [ebp - 4], ecx
add esi, ecx
add edi, ecx
xor ebx, ebx
mov bh, byte [esi - 2]
mov bl, byte [esi - 1]
jmp 0x5dfeb9
cmp dword [ebp + 0xc], edx
ja 0x5dff1f
movzx ebx, byte [esi]
inc esi
inc dword [ebp + 0xc]
inc dword [ebp - 4]
inc edi
test byte [ebp - 0xc], 0x80
mov dword [eax + 0x14], ebx
je 0x5dfeec
cmp dword [ebp - 4], edx
ja 0x5dff1f
push 3
pop edx
add dword [ebp + 0xc], edx
add dword [ebp - 4], edx
add esi, edx
movzx ebx, byte [esi - 2]
add edi, edx
movsx edx, byte [esi - 3]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi - 1]
shl edx, 8
or edx, ebx
jmp 0x5dff02
cmp edi, edx
ja 0x5dff1f
add dword [ebp + 0xc], ecx
add dword [ebp - 4], ecx
add esi, ecx
add edi, ecx
xor edx, edx
mov dh, byte [esi - 2]
mov dl, byte [esi - 1]
mov dword [eax + 0x10], edx
mov edx, dword [ebp + 8]
inc dword [edx + 0x10]
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
add eax, 0x18
cmp edx, dword [ebp - 0x18]
jb 0x5dfd5d
jmp 0x5dff26
mov dword [ebp - 8], 8
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave