Function at 0x82b260
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, ecx
mov ecx, dword [ecx]
mov ebx, edx
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
mov al, byte [esi + 0x10]
mov byte [esp + 0x18], al
call fcn.007fb640
cmp ebx, 2
mov dword [esp + 8], eax
jne 0x82b29b
xor ebp, ebp
cmp byte [esi + 0x11], 0x5a
je 0x82b5e3
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
test esi, esi
jg 0x82b2b7
mov ebp, dword [esp]
jmp 0x82b343
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x10], 0x59
jne 0x82b32a
mov ebp, dword [esp]
mov ecx, ebp
call fcn.007fdcb0
cmp ebx, 2
mov dword [esp + 0x20], eax
jne 0x82b30e
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x11], 0x56
jne 0x82b2fa
mov ecx, edi
mov edx, 0x37
push dword [esp + 8]
push dword [edi + 0x1c]
push esi
push dword [edi + 0x24]
call fcn.0082b5f0
add esp, 0x10
jmp 0x82b35b
mov ecx, edi
mov edx, 0x39
push dword [esp + 8]
push dword [edi + 0x24]
push esi
push dword [edi + 0x1c]
jmp 0x82b2f0
mov ecx, edi
mov edx, 0x36
push dword [esp + 8]
push dword [edi + 0x24]
push esi
push dword [edi + 0x2c]
call fcn.0082b5f0
add esp, 0x10
jmp 0x82b343
mov ebp, dword [esp]
mov edx, 0x30
mov ecx, ebp
push 1
push dword [esp + 0xc]
push esi
call fcn.007d10f0
add esp, 0xc
cmp ebx, 1
jne 0x82b35b
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x58], 0
jne 0x82b35b
mov ecx, edi
xor edx, edx
call fcn.0082a900
mov ecx, ebp
call fcn.007fdcb0
test esi, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x24], eax
je 0x82b43f
mov al, byte [esi + 0x12]
cmp byte [esi + 0x11], al
jne 0x82b43f
cmp ebx, 2
jne 0x82b43f
cmp byte [esi + 0x10], 0x59
jne 0x82b43f
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
call fcn.007fcfa0
mov ecx, ebp
mov esi, eax
mov dword [esp + 4], eax
call fcn.007fcfa0
mov ecx, dword [esp]
mov ebp, eax
mov edx, 0x7f
push esi
push dword [edi + 0x1c]
call fcn.007d10d0
add esp, 8
mov ecx, dword [esp]
mov edx, 0x7f
push ebp
mov esi, ebp
mov dword [esp + 0x18], ebp
push dword [edi + 0x2c]
call fcn.007d10d0
add esp, 8
mov ebp, dword [esp + 4]
mov ecx, dword [esp]
mov edx, 0x39
push ebp
push dword [esp + 0xc]
push esi
call fcn.007d10f0
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov edx, ebp
mov ebp, dword [esp]
mov ecx, esi
call fcn.007fc440
mov edx, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.007fc440
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], ebx
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 4], ebx
test eax, eax
je 0x82b460
mov ecx, ebp
mov edx, 0x52
push 1
push eax
call fcn.007d10d0
add esp, 8
jmp 0x82b4a3
cmp ebx, 2
je 0x82b412
cmp ebx, 1
jne 0x82b46b
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, edi
mov dword [esp + 4], eax
call fcn.0082aa20
jmp 0x82b4a7
mov ecx, edi
mov edx, esi
push dword [edi + 0x14]
push 1
jmp 0x82b49a
mov dword [esp + 0x10], ebx
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x30]
cmp dword [esi + 0x58], 0
mov dword [esp + 0x14], eax
mov dword [esp + 4], ebx
je 0x82b491
mov ecx, ebp
mov edx, 0x52
push 1
push dword [esi + 0x5c]
jmp 0x82b435
mov ecx, edi
mov edx, esi
push dword [edi + 0x14]
push 0
push ebx
call fcn.0082bb60
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
cmp dword [edi + 0x18], ebx
jne 0x82b4cf
mov ecx, ebp
mov edx, 0x7a
push dword [esp + 4]
call fcn.007f9600
add esp, 4
mov ecx, ebp
mov edx, 2
call fcn.0078e010
mov ecx, ebp
call fcn.007fdcb0
test esi, esi
jne 0x82b523
mov bl, byte [esp + 0x18]
xor ecx, ecx
mov edx, 5
cmp bl, 0x4c
setne cl
lea eax, [eax + ecx + 1]
mov ecx, ebp
push eax
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
xor ebp, ebp
cmp bl, 0x4c
je 0x82b5bb
mov ecx, dword [esp]
mov edx, 0xb
push dword [esp + 8]
push 0
call fcn.007d10d0
add esp, 8
xor ebp, ebp
jmp 0x82b54f
add eax, 2
mov ecx, ebp
mov edx, 5
push eax
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
mov ecx, ebp
mov edx, 0xb
call fcn.007f75b0
cmp byte [esp + 0x18], 0x4c
mov ebp, eax
je 0x82b5bb
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x82b560
xor ebx, ebx
jmp 0x82b57a
mov esi, dword [eax]
mov ebx, 0
test esi, esi
je 0x82b57a
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.007fa700
mov ebx, eax
mov ecx, esi
mov edx, dword [esp + 4]
mov dword [esp + 0x18], ecx
mov ecx, edi
push ebx
call fcn.0082bae0
add esp, 4
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, esi
push dword [esp + 0x24]
push dword [esp + 0x18]
push ebx
call fcn.0082b1c0
add esp, 0xc
mov ecx, esi
mov edx, ebx
push dword [esp + 0x18]
call fcn.007faa50
add esp, 4
mov eax, dword [esp + 0x20]
mov esi, dword [esp]
test eax, eax
je 0x82b5d8
mov ecx, esi
mov edx, 0xb
push eax
push 0
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 8]
mov ecx, esi
call fcn.007fbd70
mov eax, ebp
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret