Function at 0xf216a0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x29c
mov eax, dword [0xf4f094]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
push ebp
push esi
push edi
mov ecx, 0xf50450
xor ebx, ebx
xor ebp, ebp
call fcn.00f22fe0
test eax, eax
je 0xf218bc
mov eax, dword [0xf50e5c]
cmp eax, 6
je 0xf21730
cmp eax, 7
je 0xf21730
mov edx, eax
mov dword [0xf50440], edx
xor eax, eax
jmp 0xf216f0
movzx ecx, word [eax + 0xf50e64]
mov word [eax + 0xf720f8], cx
add eax, 2
cmp cx, bx
jne 0xf216f0
xor eax, eax
jmp 0xf21710
movzx ecx, word [eax + 0xf50ee8]
mov word [eax + 0xf72178], cx
add eax, 2
cmp cx, bx
jne 0xf21710
mov ebp, 1
jmp 0xf218cb
mov eax, dword [0xf4c974]
mov ecx, dword [0xf4c978]
mov edx, dword [0xf4c97c]
mov dword [esp + 0x20], eax
movzx eax, word [0xf4c980]
push 0x72
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x32]
push ebx
push ecx
mov dword [esp + 0x34], edx
mov word [esp + 0x38], ax
call fcn.00f34250
mov edx, dword [0xf4c984]
mov eax, dword [0xf4c988]
mov ecx, dword [0xf4c98c]
add esp, 0xc
push 0x72
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], edx
mov dx, word [0xf4c990]
lea eax, [esp + 0xb2]
push ebx
push eax
mov dword [esp + 0xb4], ecx
mov word [esp + 0xb8], dx
call fcn.00f34250
mov ecx, dword [0xf4c994]
mov edx, dword [0xf4c998]
mov eax, dword [0xf4c99c]
add esp, 0xc
push 0x72
mov dword [esp + 0x128], edx
mov dword [esp + 0x124], ecx
mov cx, word [0xf4c9a0]
lea edx, [esp + 0x132]
push ebx
push edx
mov dword [esp + 0x134], eax
mov word [esp + 0x138], cx
call fcn.00f34250
mov ecx, dword [0xf4c9a8]
mov eax, dword [0xf4c9a4]
mov edx, dword [0xf4c9ac]
add esp, 0xc
push 0x70
mov dword [esp + 0x1a8], ecx
mov dword [esp + 0x1a4], eax
mov eax, dword [0xf4c9b0]
lea ecx, [esp + 0x1b4]
push ebx
push ecx
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], eax
call fcn.00f34250
mov eax, dword [0xf4c9b8]
mov ecx, dword [0xf4c9bc]
mov edx, dword [0xf4c9b4]
add esp, 0xc
mov dword [esp + 0x224], eax
movzx eax, word [0xf4c9c4]
push 0x6e
mov dword [esp + 0x22c], ecx
mov dword [esp + 0x224], edx
mov edx, dword [0xf4c9c0]
lea ecx, [esp + 0x236]
push ebx
push ecx
mov dword [esp + 0x238], edx
mov word [esp + 0x23c], ax
call fcn.00f34250
add esp, 0xc
xor esi, esi
lea edi, [esp + 0x20]
lea esp, [esp]
push edi
mov ecx, 0xf50450
call fcn.00f23100
test eax, eax
jne 0xf21a40
inc esi
sub edi, 0xffffff80
cmp esi, 5
jl 0xf218a0
or edx, 0xffffffff
mov dword [0xf50440], edx
mov dword [0xf72288], ebx
cmp dword [0xf720f0], 3
jne 0xf21a9c
cmp edx, 5
ja 0xf21a96
cmp dword [0xf72288], ebx
jne 0xf21a9c
push 0x206
lea ecx, [esp + 0x26]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x24], ebx
xor edi, edi
mov word [esp + 0x2c], ax
call fcn.00f34250
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.00f22b70
mov eax, esi
add eax, 0xfffffffe
jmp 0xf21920
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0xf21920
mov edx, dword [0xf4c9c8]
mov ecx, dword [0xf4c9cc]
mov dword [eax], edx
mov edx, dword [0xf4c9d0]
mov dword [eax + 4], ecx
mov ecx, dword [0xf4c9d4]
mov dword [eax + 8], edx
mov edx, dword [0xf4c9d8]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xf4c9dc]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x20]
push edx
mov dword [eax + 0x14], ecx
call dword [0xf4513c]
cmp eax, 0xffffffff
jne 0xf219ac
lea eax, [esp + 0x18]
push eax
call fcn.00f22bd0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0xf21a9c
mov eax, dword [esp + 0x18]
cmp eax, 0xa
jl 0xf21a9c
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00f247b0
add esp, 4
test eax, eax
jne 0xf21a9c
call dword [0xf45138]
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00f21000
test eax, eax
je 0xf21a9c
cmp edi, ebx
je 0xf219d2
push edi
call fcn.00f31edd
add esp, 4
lea eax, [esp + 0x14]
push eax
push 0x28
mov dword [esp + 0x1c], ebx
call dword [fcn.00f45134]
push eax
call dword [0xf45008]
test eax, eax
je 0xf21a10
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0xf4ca60
push ebx
call dword [0xf45004]
test eax, eax
je 0xf21a10
lea esi, [esp + 0x18]
call fcn.00f234d0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0xf21a1f
push eax
call dword [0xf45130]
mov ecx, dword [0xf50e60]
lea eax, [esp + 0x20]
call fcn.00f23370
test eax, eax
jne 0xf21a9c
mov edx, dword [0xf50e60]
mov dword [0xf72288], edx
jmp 0xf21a9c
mov edx, esi
shl edx, 7
lea eax, [esp + edx + 0x20]
mov edx, 0xf72178
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0xf21a50
mov edx, 6
mov dword [0xf50440], edx
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0xf50e64]
mov word [eax + 0xf720f8], cx
add eax, 2
cmp cx, bx
jne 0xf21a70
mov dword [0xf50444], esi
mov ebp, 1
jmp 0xf218cb
mov dword [0xf72288], ebx
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00f31ee8
add esp, 0x29c
ret