Function at 0x5df86a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
lea esi, [eax + 1]
cmp esi, ebx
ja 0x5dfc56
movzx ecx, byte [eax]
test cl, cl
mov dword [ebp - 0x20], ecx
mov dword [ebp + 8], esi
js 0x5dfc56
and dword [ebp - 0x10], 0
and dword [ebp - 0x18], 0
test cl, 4
je 0x5df8cd
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x5dfc56
movzx eax, byte [esi]
mov esi, ecx
mov ecx, eax
and ecx, 0xf
shr eax, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jmp 0x5df900
test cl, 2
je 0x5df8e8
lea eax, [esi + 1]
cmp eax, ebx
ja 0x5dfc56
movzx esi, byte [esi]
mov dword [ebp - 0x10], esi
mov esi, eax
mov dword [ebp + 8], esi
test cl, 1
je 0x5df903
lea eax, [esi + 1]
cmp eax, ebx
ja 0x5dfc56
movzx ecx, byte [esi]
mov dword [ebp - 0x18], ecx
mov esi, eax
mov dword [ebp + 8], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [edi + 4]
cmp ecx, eax
mov dword [ebp - 0x1c], ecx
jbe 0x5df942
lea ebx, [ecx + 7]
lea ecx, [ebp - 0xc]
push ecx
push dword [edi + 8]
and ebx, 0xfffffff8
push ebx
push eax
push 4
push edx
call fcn.005c75e6
add esp, 0x18
cmp dword [ebp - 0xc], 0
mov dword [edi + 8], eax
jne 0x5dfc66
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 4], ebx
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x10]
lea eax, [eax + edx*4]
mov dword [edi + 0xc], eax
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
jbe 0x5df9e3
lea edx, [esi + 1]
mov dword [ebp - 8], edx
lea edx, [esi + 2]
mov dword [ebp - 4], edx
test byte [ebp - 0x14], 7
jne 0x5df989
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
ja 0x5dfc56
movzx edx, byte [esi]
inc esi
inc dword [ebp - 4]
inc dword [ebp - 8]
mov dword [ebp - 0x1c], edx
test byte [ebp - 0x1c], 1
je 0x5df9b4
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
ja 0x5dfc56
add dword [ebp - 4], 2
add dword [ebp - 8], 2
inc esi
movzx edx, byte [esi]
inc esi
xor eax, eax
mov ah, byte [esi - 2]
movsx eax, ax
or eax, edx
jmp 0x5df9cc
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
ja 0x5dfc56
movzx edx, byte [esi]
add eax, edx
inc esi
inc dword [ebp - 4]
inc dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
shr dword [ebp - 0x1c], 1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
mov edx, dword [edi + 8]
mov dword [ebp + 8], esi
mov dword [edx + ebx*4], eax
jb 0x5df96a
test byte [ebp - 0x20], 8
je 0x5dfa03
push dword [ebp + 0xc]
lea ebx, [ebp + 8]
call fcn.005df5f9
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x5dfc66
mov esi, dword [ebp + 8]
mov eax, edi
call fcn.005de82f
xor ecx, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x5dfc47
movzx ecx, byte [esi]
mov esi, eax
mov eax, ecx
shr ecx, 4
and eax, 0xf
cmp ecx, 7
mov dword [ebp - 0x20], ecx
ja case.default.0x5dfa36
jmp dword [ecx*4 + 0x5dfc6e]
mov dword [ebp - 4], ebx
jmp 0x5dfab2
mov dword [ebp - 4], 1
jmp 0x5dfaaf
cmp eax, dword [ebp - 0x10]
jae 0x5dfc56
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
jmp case.0x5dfa36.0
cmp eax, dword [ebp - 0x18]
jae 0x5dfc56
mov ebx, dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + eax*4]
and dword [ebp - 4], 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jmp 0x5dfab2
mov dword [ebp - 8], 0xb8e
mov dword [ebp - 4], 3
jmp 0x5dfab2
mov dword [ebp - 8], 0xe2b
jmp 0x5dfa96
mov dword [ebp - 4], 4
mov dword [ebp - 8], eax
and dword [ebp - 0x1c], 0
cmp dword [ebp - 4], 0
lea eax, [ebp - 0x40]
jbe 0x5dfc03
lea ecx, [esi + 2]
lea edx, [esi + 1]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
and ecx, 3
sub ecx, 0
je 0x5dfb1d
dec ecx
je 0x5dfafa
dec ecx
je 0x5dfae2
mov ecx, dword [ebp - 0x28]
jmp 0x5dfb3d
cmp edx, dword [ebp + 0xc]
ja 0x5dfc56
movsx ecx, byte [esi]
mov ebx, dword [ebp - 0x28]
inc esi
inc dword [ebp + 8]
inc edx
add ecx, ebx
jmp 0x5dfb3d
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
ja 0x5dfc56
add dword [ebp + 8], 2
inc esi
movzx ebx, byte [esi]
inc esi
xor ecx, ecx
mov ch, byte [esi - 2]
inc edx
inc edx
movsx ecx, cx
or ecx, ebx
jmp 0x5dfb3d
cmp edx, dword [ebp + 0xc]
ja 0x5dfc56
movzx ecx, byte [esi]
inc esi
inc dword [ebp + 8]
inc edx
cmp ecx, dword [ebp - 0x10]
jae 0x5dfc56
mov ebx, dword [edi + 8]
mov ecx, dword [ebx + ecx*4]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
shr ecx, 2
and ecx, 3
sub ecx, 0
je 0x5dfb93
dec ecx
je 0x5dfb70
dec ecx
je 0x5dfb58
mov ecx, dword [ebp - 0x24]
jmp 0x5dfbb3
cmp edx, dword [ebp + 0xc]
ja 0x5dfc56
movsx ecx, byte [esi]
mov ebx, dword [ebp - 0x24]
inc esi
inc dword [ebp + 8]
inc edx
add ecx, ebx
jmp 0x5dfbb3
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
ja 0x5dfc56
add dword [ebp + 8], 2
inc esi
movzx ebx, byte [esi]
inc esi
xor ecx, ecx
mov ch, byte [esi - 2]
inc edx
inc edx
movsx ecx, cx
or ecx, ebx
jmp 0x5dfbb3
cmp edx, dword [ebp + 0xc]
ja 0x5dfc56
movzx ecx, byte [esi]
inc esi
inc dword [ebp + 8]
inc edx
cmp ecx, dword [ebp - 0x18]
jae 0x5dfc56
mov ebx, dword [edi + 0xc]
mov ecx, dword [ebx + ecx*4]
cmp dword [ebp - 0x1c], 0
mov dword [eax + 4], ecx
jne 0x5dfbdf
cmp dword [ebp - 4], 4
jne 0x5dfbdf
cmp edx, dword [ebp + 0xc]
ja 0x5dfc56
movzx ecx, byte [esi]
inc esi
inc dword [ebp + 8]
mov dword [ebp - 8], ecx
inc edx
mov dword [ebp - 4], 3
jmp 0x5dfbe3
shr dword [ebp - 8], 4
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 4]
add eax, 8
inc dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x1c], ecx
jb 0x5dfacc
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5dfc5f
jbe 0x5dfc2a
cmp ecx, 3
jbe 0x5dfc1e
cmp ecx, 5
ja 0x5dfc2a
lea eax, [ebp - 0x40]
push eax
call fcn.005de91e
jmp 0x5dfc3d
lea ecx, [ebp - 0x40]
mov eax, edi
call fcn.005de834
jmp 0x5dfc3e
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea ebx, [ebp - 0x30]
mov eax, edi
call fcn.005de88f
pop ecx
pop ecx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x5dfc66
lea eax, [esi + 1]
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
jbe 0x5dfa21
mov dword [ebp - 0xc], 8
jmp 0x5dfc66
mov esi, edi
call fcn.005de96e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret