Function at 0x5de153
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov eax, dword [esi + 0x1c]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push eax
push 0x21
pop edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
call fcn.005cd74f
add esp, 0xc
test eax, eax
jne 0x5de402
mov ecx, edi
call fcn.005b935e
mov ecx, 0x140
mov dword [ebp - 0x14], eax
mov word [esi + 6], cx
mov edx, esi
push eax
mov ecx, ebx
call fcn.005ddf4e
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x10]
pop ecx
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
mov eax, ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], ecx
cmp dword [edx], eax
jle 0x5de203
lea ecx, [edx + 0x30]
test byte [ecx], 0x20
jne 0x5de1f9
inc eax
add ecx, 0x50
cmp eax, dword [edx]
jl 0x5de1ea
jmp 0x5de203
imul eax, eax, 0x50
mov eax, dword [eax + edx + 0x38]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0xc], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x28], eax
cmp byte [esi + 4], 0x73
jne 0x5de230
cmp dword [ebp - 8], 0
push 6
pop edx
mov dword [ebp - 0x24], 8
cmovne edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
inc eax
mov dword [ebx + 0x28], eax
jmp 0x5de23d
cmp dword [ebp - 8], 0
push 5
pop edx
push 7
pop eax
cmovne edx, eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.005dc33f
add esp, 4
mov ecx, edi
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
push 0x6f
pop edx
call fcn.005b910e
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x5de29d
push ecx
mov edx, esi
mov ecx, ebx
call fcn.005de096
pop ecx
push 0xfffffffffffffff7
push eax
mov eax, dword [ebp - 8]
mov ecx, edi
push 0
mov eax, dword [eax]
add eax, 2
push eax
push dword [ebp - 0xc]
push 0x6c
pop edx
call fcn.005b9258
mov eax, dword [ebp - 8]
add esp, 0x14
mov dword [ebp - 0x38], eax
jmp 0x5de2af
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0xc]
push 0x6c
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5de2cc
push 0
push eax
push 0x6c
pop edx
mov ecx, edi
call fcn.005b9192
pop ecx
mov dword [esi + 0x14], eax
or dword [esi + 8], 0x20
pop ecx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
and dword [esi + 0x2c], 0
mov edx, eax
push ecx
mov ecx, ebx
and dword [eax + 0x34], 0
call fcn.005e0d7b
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x34], esi
test eax, eax
jne 0x5de3e6
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0xc]
push 0x25
pop edx
call fcn.005b9192
push dword [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 0x20], eax
push 0x7c
pop edx
call fcn.005b917e
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x24]
test eax, eax
je 0x5de336
mov eax, dword [eax]
inc eax
push eax
push dword [ebp - 0xc]
push 0x60
pop edx
call fcn.005b910e
add esp, 0xc
jmp 0x5de343
push dword [ebp - 0xc]
push 0x7a
pop edx
call fcn.005b9192
pop ecx
pop ecx
push dword [ebp - 0xc]
mov ecx, edi
push 0x76
pop edx
call fcn.005b917e
pop ecx
mov ecx, edi
call fcn.005b935e
mov edx, dword [ebp - 0x28]
mov ecx, edi
push eax
mov dword [ebp - 0x24], eax
call fcn.005dcbeb
pop ecx
push dword [ebp - 0x14]
mov edx, esi
mov ecx, ebx
push dword [ebp - 0x24]
push dword [ebp + 8]
push 0
push 0
push dword [ebp - 0x10]
push dword [esi]
call fcn.005dcc76
mov eax, dword [ebp - 0x2c]
add esp, 0x1c
test eax, eax
je 0x5de39c
push dword [ebp - 0x14]
mov ecx, edi
push eax
push 0x30
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov edx, dword [ebp - 0x24]
mov ecx, edi
call fcn.005b93a0
test byte [esi + 8], 8
je 0x5de3ba
push 0x4ad654
push ebx
call fcn.005a4527
pop ecx
jmp 0x5de3d1
and dword [esi + 0x30], 0
lea eax, [ebp - 0x4c]
push eax
mov edx, esi
mov ecx, ebx
call fcn.005e0d7b
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x30], eax
mov edx, dword [ebp - 0x20]
pop ecx
mov ecx, edi
call fcn.005b91a7
mov edx, dword [ebp - 0x14]
mov ecx, edi
call fcn.005b93a0
mov edx, dword [esi + 0x2c]
mov ecx, dword [ebx]
call fcn.005c7f14
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret