Function at 0x81fa20
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.007efdc0
cmp ebx, 2
mov dword [esp + 8], eax
jne 0x81fa5b
xor ebp, ebp
cmp byte [esi + 0x11], 0x5a
je 0x81fda3
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
test esi, esi
jg 0x81fa77
mov ebp, dword [esp]
jmp 0x81fb03
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x10], 0x59
jne 0x81faea
mov ebp, dword [esp]
mov ecx, ebp
call fcn.007f2430
cmp ebx, 2
mov dword [esp + 0x20], eax
jne 0x81face
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x11], 0x56
jne 0x81faba
mov ecx, edi
mov edx, 0x37
push dword [esp + 8]
push dword [edi + 0x1c]
push esi
push dword [edi + 0x24]
call fcn.0081fdb0
add esp, 0x10
jmp 0x81fb1b
mov ecx, edi
mov edx, 0x39
push dword [esp + 8]
push dword [edi + 0x24]
push esi
push dword [edi + 0x1c]
jmp 0x81fab0
mov ecx, edi
mov edx, 0x36
push dword [esp + 8]
push dword [edi + 0x24]
push esi
push dword [edi + 0x2c]
call fcn.0081fdb0
add esp, 0x10
jmp 0x81fb03
mov ebp, dword [esp]
mov edx, 0x30
mov ecx, ebp
push 1
push dword [esp + 0xc]
push esi
call fcn.007c5800
add esp, 0xc
cmp ebx, 1
jne 0x81fb1b
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x58], 0
jne 0x81fb1b
mov ecx, edi
xor edx, edx
call fcn.0081f0c0
mov ecx, ebp
call fcn.007f2430
test esi, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x24], eax
je 0x81fbff
mov al, byte [esi + 0x12]
cmp byte [esi + 0x11], al
jne 0x81fbff
cmp ebx, 2
jne 0x81fbff
cmp byte [esi + 0x10], 0x59
jne 0x81fbff
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
call fcn.007f1720
mov ecx, ebp
mov esi, eax
mov dword [esp + 4], eax
call fcn.007f1720
mov ecx, dword [esp]
mov ebp, eax
mov edx, 0x7f
push esi
push dword [edi + 0x1c]
call fcn.007c57e0
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.007c57e0
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.007c5800
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov edx, ebp
mov ebp, dword [esp]
mov ecx, esi
call fcn.007f0bc0
mov edx, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.007f0bc0
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 0x81fc20
mov ecx, ebp
mov edx, 0x52
push 1
push eax
call fcn.007c57e0
add esp, 8
jmp 0x81fc63
cmp ebx, 2
je 0x81fbd2
cmp ebx, 1
jne 0x81fc2b
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.0081f1e0
jmp 0x81fc67
mov ecx, edi
mov edx, esi
push dword [edi + 0x14]
push 1
jmp 0x81fc5a
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 0x81fc51
mov ecx, ebp
mov edx, 0x52
push 1
push dword [esi + 0x5c]
jmp 0x81fbf5
mov ecx, edi
mov edx, esi
push dword [edi + 0x14]
push 0
push ebx
call fcn.00820320
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
cmp dword [edi + 0x18], ebx
jne 0x81fc8f
mov ecx, ebp
mov edx, 0x7a
push dword [esp + 4]
call fcn.007edd80
add esp, 4
mov ecx, ebp
mov edx, 2
call fcn.00782720
mov ecx, ebp
call fcn.007f2430
test esi, esi
jne 0x81fce3
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.007c57e0
add esp, 8
xor ebp, ebp
cmp bl, 0x4c
je 0x81fd7b
mov ecx, dword [esp]
mov edx, 0xb
push dword [esp + 8]
push 0
call fcn.007c57e0
add esp, 8
xor ebp, ebp
jmp 0x81fd0f
add eax, 2
mov ecx, ebp
mov edx, 5
push eax
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
mov ecx, ebp
mov edx, 0xb
call fcn.007ebd30
cmp byte [esp + 0x18], 0x4c
mov ebp, eax
je 0x81fd7b
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x81fd20
xor ebx, ebx
jmp 0x81fd3a
mov esi, dword [eax]
mov ebx, 0
test esi, esi
je 0x81fd3a
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.007eee80
mov ebx, eax
mov ecx, esi
mov edx, dword [esp + 4]
mov dword [esp + 0x18], ecx
mov ecx, edi
push ebx
call fcn.008202a0
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.0081f980
add esp, 0xc
mov ecx, esi
mov edx, ebx
push dword [esp + 0x18]
call fcn.007ef1d0
add esp, 4
mov eax, dword [esp + 0x20]
mov esi, dword [esp]
test eax, eax
je 0x81fd98
mov ecx, esi
mov edx, 0xb
push eax
push 0
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 8]
mov ecx, esi
call fcn.007f04f0
mov eax, ebp
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret