Function at 0x5ce276
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
xor ecx, ecx
mov dword [ebp - 8], eax
inc ecx
mov esi, 0x4a4dec
mov ebx, dword [edi]
cmp byte [ebx + 0x99], 0
je 0x5ce2be
cmp dword [ebx + 0x94], ecx
jne 0x5ce2be
movzx eax, byte [ebx + 0x98]
mov edx, 0x4a4cdc
cmp eax, ecx
mov dword [ebp - 4], eax
mov ecx, ebx
cmovne edx, esi
call fcn.005a2789
jmp 0x5ce314
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ecx, edi
call fcn.005ce18e
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
js 0x5ce409
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5ce305
cmp dword [esi + 4], 0
jbe 0x5ce2fe
cmp eax, 1
je 0x5ce2fe
push 0x4ac018
push edi
call fcn.005a4527
pop ecx
pop ecx
jmp 0x5ce409
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, ebx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.005ce0b5
mov ecx, dword [ebp - 8]
mov esi, eax
mov eax, dword [ecx]
mov dword [edi + 0x17c], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x180], eax
test esi, esi
je 0x5ce409
mov edx, esi
mov ecx, edi
call fcn.005ce1f2
test eax, eax
jne 0x5ce400
cmp byte [ebx + 0x98], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push 1
pop eax
cmove ecx, eax
mov eax, dword [ebx + 0x10]
shl edx, 4
mov dword [ebp - 0x10], edx
mov dword [ebp + 0xc], ecx
mov edx, dword [edx + eax]
xor eax, eax
inc eax
mov dword [ebp - 0xc], edx
cmp ecx, eax
mov eax, 0x4a4cdc
push edx
mov ecx, 0x4a4dec
cmovne eax, ecx
mov ecx, edi
push 0
push eax
push 0x12
pop edx
call fcn.005cd74f
add esp, 0xc
test eax, eax
jne 0x5ce400
cmp dword [ebp + 0x14], eax
jne 0x5ce3b5
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push esi
movzx edx, byte [ecx + eax*2 + 0x4a7170]
mov ecx, edi
call fcn.005cd74f
add esp, 0xc
test eax, eax
jne 0x5ce400
cmp byte [edi + 0x190], 0
jne 0x5ce432
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax]
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.005dbbae
test eax, eax
jne 0x5ce400
push dword [ebp - 0xc]
mov edx, esi
mov ecx, ebx
call fcn.005cdb61
pop ecx
test eax, eax
je 0x5ce410
cmp dword [ebp + 0x18], 0
jne 0x5ce3f6
push dword [ebp - 8]
push 0x4ac044
jmp 0x5ce427
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.005d16df
mov edx, esi
mov ecx, ebx
call fcn.005a2404
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
mov edx, esi
mov ecx, ebx
call fcn.005cdd1a
pop ecx
test eax, eax
je 0x5ce432
push esi
push 0x4ac05c
push edi
call fcn.005a4527
add esp, 0xc
jmp 0x5ce400
push 0
push 0x50
mov ecx, ebx
call fcn.005a25bb
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x5ce454
inc dword [edi + 0x24]
mov dword [edi + 0xc], 7
jmp 0x5ce400
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov word [ecx + 0x28], ax
mov dword [ecx], esi
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edx + 0xc]
mov dword [ecx + 0x48], eax
xor eax, eax
inc eax
mov dword [ecx + 0x20], eax
mov eax, 0xc8
mov word [ecx + 0x2c], ax
cmp byte [edi + 0x12], 0
mov dword [edi + 0x1b0], ecx
jne 0x5ce49f
push 0x4a4a5c
push esi
call fcn.00600450
pop ecx
pop ecx
test eax, eax
jne 0x5ce49f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x48]
mov dword [eax + 0x48], ecx
cmp byte [ebx + 0x99], 0
jne 0x5ce409
mov ecx, edi
call fcn.005ddf3f
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x5ce409
push dword [ebp - 4]
xor eax, eax
mov ecx, edi
lea edx, [eax + 1]
call fcn.005d1769
cmp dword [ebp + 0x14], 0
pop ecx
je 0x5ce4e2
mov edx, 0x99
mov ecx, esi
call fcn.005b9170
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
mov dword [ebp - 8], eax
mov dword [edi + 0x60], eax
inc eax
push 2
mov dword [edi + 0x64], eax
inc eax
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x65
pop edx
mov dword [edi + 0x2c], eax
call fcn.005b910e
mov edx, dword [ebp - 4]
add esp, 0xc
mov ecx, esi
call fcn.005b9b76
push dword [ebp - 0xc]
mov ecx, esi
push 0x15
pop edx
call fcn.005b917e
test byte [ebx + 0x18], 2
mov esi, eax
pop ecx
push 4
pop ecx
push 1
pop eax
cmovne ecx, eax
push ecx
mov ecx, dword [ebp - 0x10]
push 2
push dword [ebp - 4]
push 0x66
pop edx
call fcn.005b910e
movzx eax, byte [ebx + 0x42]
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push eax
push 5
push dword [ebp - 4]
push 0x66
pop edx
call fcn.005b910e
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.005b9643
cmp dword [ebp + 0x10], 0
jne 0x5ce590
cmp dword [ebp + 0x14], 0
jne 0x5ce590
mov eax, dword [ebp - 8]
mov edx, 0x87
inc eax
mov ecx, ebx
push eax
push dword [ebp - 4]
call fcn.005b9192
mov dword [edi + 0x80], eax
jmp 0x5ce5a1
mov eax, dword [ebp - 8]
mov ecx, ebx
inc eax
push eax
push 0
push 0x38
pop edx
call fcn.005b9192
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, edi
call fcn.005ce0d7
mov edi, dword [ebp - 8]
mov ecx, ebx
push edi
push 0
push 0x73
pop edx
call fcn.005b9192
mov esi, dword [ebp - 0xc]
mov ecx, ebx
push 0xffffffffffffffff
push 0x4a971c
push 0
push esi
push 6
push 0x3d
pop edx
call fcn.005b9258
add esp, 0x1c
mov ecx, ebx
push edi
push esi
push 0
push 0x74
pop edx
call fcn.005b910e
add esp, 0xc
mov ecx, ebx
push 8
pop edx
call fcn.005b962b
push 0x70
pop edx
call fcn.005b9170
jmp 0x5ce409