Function at 0x5cc397
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
xor eax, eax
inc eax
mov dword [ebp - 8], ecx
mov byte [ebp - 0x38], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
inc eax
push ebx
mov dword [ebp + 0x10], eax
inc eax
mov ebx, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], ebx
inc ebx
mov dword [ebp - 0xc], ebx
inc ebx
mov dword [ebp - 0x3c], ebx
inc ebx
mov dword [ebp - 0x48], ebx
inc ebx
mov dword [ebp - 0x44], ebx
inc ebx
cmp dword [ecx + 0x2c], ebx
mov eax, ebx
push esi
cmovg eax, dword [ecx + 0x2c]
mov esi, edx
push edi
mov dword [ebp - 0x4c], esi
mov dword [ecx + 0x2c], eax
call fcn.005ddf3f
mov edi, eax
test edi, edi
je 0x5cc850
test esi, esi
je 0x5cc850
cmp dword [esi + 0x1c], 0
je 0x5cc850
push 0
push dword [esi]
push 0x4a4e04
call fcn.005d3d52
add esp, 0xc
test eax, eax
je 0x5cc850
mov edx, dword [esi + 0x48]
mov ecx, dword [ebp - 0x30]
call fcn.005dbc8a
mov ecx, dword [ecx + 0x10]
mov edx, eax
add edx, edx
mov dword [ebp - 0x20], eax
push dword [ecx + edx*8]
mov ecx, dword [ebp - 8]
push 0
push dword [esi]
push 0x1c
pop edx
call fcn.005cd74f
add esp, 0xc
test eax, eax
jne 0x5cc850
push dword [esi]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
push eax
push dword [esi + 0x1c]
call fcn.005cd7f8
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, eax
inc eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], eax
inc eax
push 0x68
cmp dword [ecx + 0x28], eax
push esi
cmovg eax, dword [ecx + 0x28]
push dword [ebp - 0x20]
mov dword [ecx + 0x28], eax
call fcn.005d61b5
mov edx, dword [ebp - 0x3c]
add esp, 0xc
mov ecx, edi
push dword [esi]
call fcn.005b91b8
mov esi, dword [esi + 8]
pop ecx
jmp 0x5cc7af
cmp dword [ebp + 8], 0
je 0x5cc4af
cmp dword [ebp + 8], esi
jne 0x5cc7ac
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp dword [esi + 0x24], ecx
movzx eax, al
cmove eax, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
test byte [ecx + 0x24], 0x20
je 0x5cc4dd
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x5cc4dd
movzx eax, word [esi + 0x32]
mov ecx, dword [ecx]
mov dword [ebp - 0x34], eax
jmp 0x5cc4f0
test byte [esi + 0x38], 8
movzx eax, word [esi + 0x34]
mov ecx, dword [esi]
mov dword [ebp - 0x34], eax
je 0x5cc4f0
movzx eax, word [esi + 0x32]
mov edx, dword [ebp - 0x48]
dec eax
push ecx
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.005b91b8
mov eax, dword [ebp - 4]
pop ecx
mov ecx, dword [ebp - 8]
add eax, ebx
push dword [ebp - 0x20]
cmp dword [ecx + 0x2c], eax
cmovg eax, dword [ecx + 0x2c]
mov dword [ecx + 0x2c], eax
mov ecx, edi
push dword [esi + 0x2c]
push dword [ebp - 0x14]
push 0x68
pop edx
call fcn.005b910e
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, esi
call fcn.005b98f7
push dword [ebp - 0x40]
mov ecx, edi
push dword [ebp - 0x34]
push 0x38
pop edx
call fcn.005b9192
mov eax, dword [ebp + 0x10]
mov ecx, edi
add eax, 2
push eax
movzx eax, word [esi + 0x32]
push eax
push 0x38
pop edx
call fcn.005b9192
push 0xfffffffffffffff8
push 0x4a5db4
push dword [ebp + 0x10]
mov edx, 0xa2
mov ecx, edi
push dword [ebp - 0x40]
push 0
call fcn.005b9258
add esp, 0x24
mov ecx, edi
push 2
pop edx
call fcn.005b962b
push dword [ebp - 0x14]
push 0x25
pop edx
call fcn.005b917e
pop ecx
push dword [ebp - 0x24]
mov ecx, edi
mov dword [ebp - 0x50], eax
push 0
push 0x38
pop edx
call fcn.005b9192
pop ecx
pop ecx
mov ecx, edi
call fcn.005b950e
cmp dword [ebp - 4], 0
mov dword [ebp - 0x34], eax
jle 0x5cc710
call fcn.005b935e
mov ecx, dword [ebp - 4]
shl ecx, 2
push 0
push ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
call fcn.005a2627
mov dword [ebp - 0x2c], eax
pop ecx
pop ecx
test eax, eax
je 0x5cc7ac
push 0xd
pop edx
mov ecx, edi
call fcn.005b9170
mov ecx, edi
call fcn.005b950e
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
inc ecx
cmp eax, ecx
jne 0x5cc617
cmp word [esi + 0x32], cx
jne 0x5cc617
cmp byte [esi + 0x36], 0
je 0x5cc617
push dword [ebp - 0x28]
mov ecx, edi
push ebx
push 0x4c
pop edx
call fcn.005b9192
mov eax, dword [ebp - 4]
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test eax, eax
jle 0x5cc694
mov edx, dword [esi + 0x20]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp - 8]
call fcn.005cec0d
push dword [ebp - 0x24]
mov ecx, edi
mov esi, eax
push dword [ebp - 0x10]
push 0x38
pop edx
call fcn.005b9192
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x60
pop edx
call fcn.005b910e
add esp, 0x14
mov ecx, edi
push 0xfffffffffffffffe
push esi
mov esi, dword [ebp - 0x10]
lea eax, [esi + ebx]
push eax
push 0
push dword [ebp - 0xc]
push 0x4d
pop edx
call fcn.005b9258
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
mov edx, 0x80
mov dword [ecx + esi*4], eax
mov ecx, edi
call fcn.005b962b
mov eax, dword [ebp - 4]
mov ecx, esi
mov esi, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jl 0x5cc620
push dword [ebp - 0x24]
mov ecx, edi
push eax
push 0x38
pop edx
call fcn.005b9192
mov edx, dword [ebp - 0x28]
pop ecx
pop ecx
mov ecx, edi
call fcn.005b91a7
mov edx, dword [ebp - 0x34]
mov ecx, edi
lea edx, [edx - 1]
call fcn.005b9643
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], eax
jle 0x5cc6fb
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*4]
mov ecx, edi
call fcn.005b9643
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + ebx]
push eax
push ecx
push dword [ebp - 0x14]
mov ecx, edi
push 0x60
pop edx
call fcn.005b910e
mov eax, dword [ebp - 0x10]
add esp, 0xc
inc eax
mov dword [ebp - 0x10], eax
cmp eax, esi
jl 0x5cc6c8
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.005b93a0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
call fcn.005a2404
push 0xfffffffffffffff8
push 0x4a966c
push dword [ebp - 0xc]
xor eax, eax
mov edx, 0xa2
push dword [ebp + 0x10]
inc eax
mov ecx, edi
push eax
call fcn.005b9258
add esp, 0x14
mov ecx, edi
push 2
pop edx
call fcn.005b962b
push dword [ebp - 0x34]
push dword [ebp - 0x14]
push 7
pop edx
call fcn.005b9192
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
push dword [ebp - 0x44]
push ecx
mov ecx, edi
call fcn.005cc368
push 0
push 0x4abcfc
push dword [ebp - 0xc]
mov ecx, edi
push 3
push dword [ebp - 0x3c]
push 0x63
pop edx
call fcn.005b9258
add esp, 0x1c
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x73
pop edx
call fcn.005b9192
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push 0x74
pop edx
call fcn.005b910e
add esp, 0x14
mov ecx, edi
push 8
pop edx
call fcn.005b962b
mov edx, dword [ebp - 0x50]
call fcn.005b9643
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x5cc4a0
cmp dword [ebp + 8], 0
jne 0x5cc850
cmp byte [ebp - 0x38], 0
je 0x5cc850
mov ebx, dword [ebp - 0x44]
mov ecx, edi
push ebx
push dword [ebp - 0x54]
push 0x64
pop edx
call fcn.005b9192
push ebx
push 0x16
pop edx
mov ecx, edi
call fcn.005b917e
add esp, 0xc
mov ecx, edi
mov esi, eax
push dword [ebp - 0x48]
push 0
push 0x3b
pop edx
call fcn.005b9192
mov ebx, dword [ebp - 0xc]
mov ecx, edi
push 0
push 0x4abcfc
push ebx
push 3
push dword [ebp - 0x3c]
push 0x63
pop edx
call fcn.005b9258
add esp, 0x1c
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x73
pop edx
call fcn.005b9192
push dword [ebp - 0x1c]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push 0x74
pop edx
call fcn.005b910e
add esp, 0x14
mov ecx, edi
push 8
pop edx
call fcn.005b962b
mov edx, esi
call fcn.005b9643
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret