Function at 0x82f200
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov esi, ecx
call fcn.007f7590
mov dword [esp + 4], eax
mov eax, dword [esi + 0x28]
mov ecx, esi
mov dword [esp], esi
mov dword [esp + 0x18], eax
call fcn.007fb640
cmp dword [esp + 0x4c], 0
mov edi, eax
jns 0x82f24b
movzx eax, byte [ebx + 0x18]
mov ecx, dword [esp + 4]
mov edx, 0x2f
push edi
push eax
call fcn.007d10d0
add esp, 8
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x14]
mov esi, dword [esp + 4]
mov ecx, ebx
test edi, edi
jle 0x82f297
mov eax, dword [esp + 0x48]
xor ebx, ebx
lea ebp, [eax + 1]
mov eax, dword [esp + 0x44]
mov edi, ecx
mov ecx, dword [ecx]
movsx edx, word [eax + ebx*4]
call fcn.007f9520
cwde
mov ecx, esi
mov edx, 0x32
add eax, ebp
push dword [esp + 0xc]
push eax
call fcn.007d10d0
mov ecx, edi
add esp, 8
mov edi, dword [edi + 0x14]
inc ebx
cmp ebx, edi
jl 0x82f265
mov ebx, dword [esp + 0x18]
mov ebp, ecx
dec ebx
cmp dword [esp + 0x50], 0
jne 0x82f555
cmp dword [esp + 0x3c], 0
jne 0x82f39d
mov ecx, dword [esp]
call fcn.007fcfa0
mov esi, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp]
movsx edx, word [eax]
call fcn.007f9520
mov ebp, dword [esp + 4]
mov ecx, dword [esp + 0x48]
cwde
mov edx, 0x4e
lea eax, [ecx + eax + 1]
mov ecx, ebp
push esi
push eax
call fcn.007d10d0
add esp, 8
mov ecx, ebp
mov edx, 0xf
push 0
push esi
call fcn.007d10d0
add esp, 8
cmp dword [esp + 0x4c], 1
mov dword [esp + 0x10], eax
jne 0x82f338
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
cmp dword [eax], ecx
jne 0x82f338
mov ecx, ebp
mov edx, 0x35
push esi
push dword [esp + 0x10]
push dword [esp + 0x50]
call fcn.007d10f0
add esp, 0xc
mov ecx, ebp
mov edx, 0x90
call fcn.0078e010
mov edi, dword [esp]
mov edx, ebx
mov ecx, edi
push 0x60
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.007f77f0
add esp, 0xc
mov ecx, ebp
mov edx, 0x20
push esi
push 0
push ebx
call fcn.007d10f0
add esp, 0xc
mov edx, dword [esp + 0xc]
mov ecx, ebp
call fcn.007f7790
mov ecx, ebp
call fcn.007fdcb0
lea edx, [eax - 2]
mov ecx, ebp
call fcn.007f75c0
mov edx, dword [esp + 0x10]
mov ecx, ebp
call fcn.007f75c0
mov ecx, edi
mov edx, esi
call fcn.007fc440
mov ebp, dword [esp + 0x40]
jmp 0x82f555
mov esi, dword [esp]
mov edx, edi
mov ecx, esi
call fcn.007fa700
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.007fcfa0
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], eax
mov edx, 0x60
push dword [esp + 8]
mov esi, dword [esp + 0x40]
push dword [esi + 0x2c]
mov dword [esp + 0x20], ebx
push ebx
call fcn.007d10f0
add esp, 0xc
mov ecx, dword [esp]
mov edx, esi
call fcn.007f7980
mov esi, dword [esp + 0x44]
test edi, edi
mov ebx, ebp
jle 0x82f42f
mov eax, dword [esp + 0x48]
xor ebp, ebp
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
movsx edx, word [esi + ebp*4]
mov ecx, dword [ebx]
lea eax, [ebp + eax]
mov dword [esp + 8], eax
call fcn.007f9520
cwde
mov ecx, dword [esp + 4]
mov edx, 0x4d
add eax, dword [esp + 0x1c]
push dword [esp + 8]
push eax
call fcn.007d10d0
add esp, 8
inc ebp
cmp ebp, edi
jne 0x82f3f8
cmp dword [esp + 0x4c], 1
mov esi, dword [esp + 4]
mov ebp, ebx
jne 0x82f4f3
mov eax, dword [esp + 0x38]
cmp dword [ebp], eax
jne 0x82f4f3
mov ecx, esi
call fcn.007fdcb0
test edi, edi
jle 0x82f4e8
lea eax, [edi + eax + 1]
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
movsx edx, word [eax + ebx*4]
call fcn.007f9520
mov esi, dword [esp + 0x20]
cwde
add eax, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
movsx ebp, word [eax + ebx*2]
mov edx, ebp
call fcn.007f9520
mov ecx, dword [esp + 0x38]
cwde
mov edx, 0x34
add eax, esi
mov esi, dword [esp + 4]
cmp bp, word [ecx + 0x28]
mov ecx, esi
cmove eax, dword [esp + 0x48]
push eax
push dword [esp + 0x20]
push dword [esp + 0x10]
call fcn.007d10f0
add esp, 0xc
mov ecx, esi
mov edx, 0x10
call fcn.0078e010
mov ebp, dword [esp + 0x40]
inc ebx
cmp ebx, edi
je 0x82f4e8
mov ecx, dword [ebp]
jmp 0x82f473
mov edx, dword [esp + 0xc]
mov ecx, esi
call fcn.007f7790
mov ebx, esi
mov esi, dword [esp]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi]
call fcn.00810d50
mov ecx, ebx
mov edx, 0x5b
push edi
push eax
push dword [esp + 0x1c]
push edi
push dword [esp + 0x20]
call fcn.007f75d0
add esp, 0x14
mov ecx, ebx
mov edx, 0x1e
push 0
push dword [esp + 0x18]
push dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push ebx
call fcn.0078dfd0
add esp, 0x10
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.007fc440
mov edx, dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.007faa50
add esp, 4
mov al, byte [ebp + 0x18]
mov edi, dword [esp + 0xc]
test al, al
jne 0x82f5b1
mov eax, dword [esp]
mov eax, dword [eax]
test byte [eax + 0x22], 8
jne 0x82f59b
mov eax, dword [esp]
cmp dword [eax + 0x74], 0
jne 0x82f59b
mov eax, dword [esp]
cmp byte [eax + 0x14], 0
jne 0x82f59b
mov ecx, dword [esp]
mov edx, 0x313
push 4
push 0xffffffffffffffff
push 0
push 2
call fcn.007fc3d0
add esp, 0x10
mov esi, dword [esp + 4]
jmp 0x82f5cc
cmp dword [esp + 0x4c], 0
jg 0x82f5a6
xor eax, eax
jmp 0x82f5b1
mov ecx, dword [esp]
call fcn.007fc3c0
mov al, byte [ebp + 0x18]
mov esi, dword [esp + 4]
movzx eax, al
mov edx, 0x95
mov ecx, esi
push dword [esp + 0x4c]
push eax
call fcn.007d10d0
add esp, 8
mov ecx, esi
mov edx, edi
call fcn.007fbd70
mov ecx, esi
mov edx, 0x74
push ebx
call fcn.007f9600
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret