Function at 0x1001cf90
Capabilities:
Encode data using base64
Hash data using fnv
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078094
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x10098128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x1e8], eax
mov esi, dword [0x100cc9a0]
mov dword [ebp - 0x1e0], eax
test esi, esi
je 0x1001e9d5
nop dword [eax]
mov ecx, 0x100cc990
call fcn.10018470
sub esi, 1
mov ecx, 0
mov edi, dword [eax]
mov eax, dword [0x100cc99c]
cmove eax, ecx
mov dword [ebp - 0x218], edi
mov dword [0x100cc99c], eax
mov eax, 0x5e8a30
push edi
mov dword [0x100cc9a0], esi
call eax
add esp, 4
test al, al
je 0x1001e9c7
push 0xffffffffffffffff
mov eax, 0x56e210
call eax
add esp, 4
cmp eax, edi
je 0x1001e9c7
movzx eax, byte [edi + 0x22]
mov esi, edi
add edi, 0x22
mov dword [ebp - 0x214], esi
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x100cc950
push eax
push edi
lea eax, [ebp - 0x27c]
push eax
call fcn.1001bd40
cmp dword [eax + 4], 0
je 0x1001d097
push edi
mov ecx, 0x100cc950
call fcn.10016700
push eax
lea ecx, [ebp - 0xbc]
call fcn.1000c1f0
mov ecx, eax
mov eax, dword [ebp - 0x1e0]
or eax, 1
jmp 0x1001d0b0
movzx edx, word [edi]
lea ecx, [ebp - 0x8c]
call fcn.10008e20
mov ecx, eax
mov eax, dword [ebp - 0x1e0]
or eax, 2
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 3
test al, 2
je 0x1001d16e
mov edx, dword [ebp - 0x78]
and eax, 0xfffffffd
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1001d159
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d149
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
mov eax, dword [ebp - 0x1e0]
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 4
test al, 1
je 0x1001d1da
mov edx, dword [ebp - 0xa8]
and eax, 0xfffffffe
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1001d1bf
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d1b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
cmovae edx, dword [ebp - 0xa4]
sub esp, 8
mov eax, esp
push ecx
push edx
push 0
mov ecx, 0x10098bc4
mov dword [eax], str.MergeZonesWithGlobal
mov dword [eax + 4], 0x14
call fcn.1000aa20
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
cmovae edx, dword [ebp - 0xa4]
sub esp, 8
mov byte [ebp - 0x1ed], al
mov eax, esp
push ecx
push edx
push 0
mov ecx, 0x10098bc4
mov dword [eax], str.DisableOnMission
mov dword [eax + 4], 0x10
call fcn.1000aa20
test al, al
je 0x1001d2ad
mov eax, dword [0x100cc9e8]
call eax
test al, al
je 0x1001d2ad
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x1001e9c7
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d29e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
jmp 0x1001e9c7
mov edi, dword [ebp - 0x218]
xor ecx, ecx
lea eax, [edi + 0x5a0]
mov dword [ebp - 0x228], eax
mov edx, eax
mov eax, dword [edx]
lea edx, [edx + 0x1c]
mov dword [ebp + ecx*4 - 0x44], eax
inc ecx
cmp ecx, 0xd
jl 0x1001d2c3
movzx eax, byte [edi + 0x718]
mov dword [ebp - 0x200], eax
xor al, al
mov byte [ebp - 0x1e1], al
mov dword [ebp - 0x208], 0
xor ecx, ecx
mov dword [ebp - 0x210], ecx
nop dword [eax]
test al, al
jne 0x1001e99f
mov dword [ebp - 0xd4], 0
mov edi, 0xf
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], edi
mov byte [ebp - 0xd4], al
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], edi
mov byte [ebp - 0xec], al
mov byte [ebp - 4], 8
cmp ecx, 2
jge 0x1001d544
mov edi, dword [ebp - 0x218]
mov eax, 0x6e38f0
push dword [edi + 0x58c]
call eax
add esp, 4
test al, al
je 0x1001e983
mov edi, dword [edi + 0x58c]
add edi, 0x22
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x100cc970
push eax
push edi
lea eax, [ebp - 0x274]
push eax
call fcn.1001bd40
mov edx, dword [0x100cc974]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x100cc974]
je 0x1001d438
lea ecx, [edx + 0xc]
mov eax, 0x7fffffff
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x1001e9f0
cmp dword [ecx + 0x14], 0x10
jb 0x1001d3e2
mov ecx, dword [ecx]
push 1
push 0x10089574
push edx
push ecx
push ecx
push dword [ebp - 0x200]
lea ecx, [ebp - 0x8c]
call fcn.1001ef30
movups xmm0, xmmword [ebp - 0x8c]
mov eax, dword [ebp - 0x1e0]
or eax, 0x4000
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0x1e0], eax
movq xmm0, qword [ebp - 0x7c]
mov dword [ebp - 0x1e8], eax
movq qword [ebp - 0xc4], xmm0
mov byte [ebp - 4], 8
jmp 0x1001d538
movzx ecx, word [edi]
lea edi, [ebp - 0x5f]
mov dword [ebp - 0x1ec], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x1ec]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x1ec], eax
test eax, eax
jne 0x1001d444
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5f]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 8
cmp edi, eax
je 0x1001d4a4
sub eax, edi
lea ecx, [ebp - 0x5c]
push eax
push edi
call fcn.1000c8b0
or dword [ebp - 0x1e0], 0x18000
push 1
push 0x10089574
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.1000c9a0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x1e0]
or eax, 0x20000
movq qword [ebp - 0xc4], xmm1
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
movups xmmword [ebp - 0xd4], xmm0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1001d538
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d52e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
mov edi, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x1001d551
cmp ecx, 2
jne 0x1001d73d
push 0xffffffffffffffff
mov eax, 0x56e230
call eax
add esp, 4
test eax, eax
je 0x1001e94d
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x1ec], ecx
test ecx, ecx
je 0x1001e94d
lea edi, [ebp - 0x5f]
nop dword [eax]
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x1ec]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x1ec], eax
test eax, eax
jne 0x1001d580
mov dword [ebp - 0xbc], 0
lea eax, [ebp - 0x5f]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 8
cmp edi, eax
je 0x1001d5ef
sub eax, edi
lea ecx, [ebp - 0xbc]
push eax
push edi
call fcn.1000c8b0
or dword [ebp - 0x1e0], 0xc0000
push 6
push str.WANTED
push ecx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x12
call fcn.1001efd0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
or dword [ebp - 0x1e0], 0x100000
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 1
push 0x10089574
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call fcn.1000c9a0
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000c010
movups xmm0, xmmword [ebp - 0x8c]
or dword [ebp - 0x1e0], 0x200000
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [ebp - 0xdc], xmm0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.1000bf10
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1001d6ed
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d6e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x1001d73d
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d733
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
mov edi, dword [ebp - 0xdc]
mov eax, 0x7fffffff
mov edx, dword [ebp - 0xc4]
sub eax, edi
cmp eax, edx
jb 0x1001e9f0
cmp dword [ebp - 0xd8], 0x10
lea ecx, [ebp - 0xec]
push edx
cmovae ecx, dword [ebp - 0xec]
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 0x10
cmovae eax, dword [ebp - 0xd4]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x200]
lea ecx, [ebp - 0xbc]
call fcn.1001ef30
or dword [ebp - 0x1e0], 0x400000
push 0xb
push str.WEAPONFORCE
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x18
call fcn.1000c9a0
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000c010
mov eax, dword [ebp - 0x1e0]
or eax, 0x800000
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0x19
lea edi, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
mov ecx, dword [ebp - 0x7c]
cmovae edi, dword [ebp - 0x8c]
cmp dword [ebp - 0x208], 0
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x1fc], ecx
je 0x1001d847
mov dword [ebp - 0x5c], 0
push 6
push str.Global
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 0x19
call fcn.1000c8b0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x1e0]
or eax, 4
jmp 0x1001d8f8
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
cmovae edx, dword [ebp - 0xa4]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1f4], edx
cmp ecx, 0x10
jae 0x1001d89a
movups xmm0, xmmword [edx]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0xf
movups xmmword [ebp - 0x74], xmm0
jmp 0x1001d8eb
mov edi, ecx
mov eax, 0x7fffffff
or edi, 0xf
lea ecx, [ebp - 0x74]
cmp edi, 0x7fffffff
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.1000cb00
mov ecx, dword [ebp - 0x1ec]
inc ecx
mov dword [ebp - 0x74], eax
push ecx
push dword [ebp - 0x1f4]
push eax
call fcn.100563d0
mov eax, dword [ebp - 0x1ec]
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x60], edi
mov edi, dword [ebp - 0x204]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0x1c
or eax, 8
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
mov eax, dword [ecx + 0x10]
jb 0x1001d90f
mov ecx, dword [ecx]
push dword [ebp - 0x1fc]
push edi
push eax
push ecx
push 2
lea eax, [ebp - 0x234]
mov ecx, 0x10098bc4
push eax
call fcn.1000abb0
mov dword [ebp - 4], 0x1d
mov edi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x230]
cmp edi, eax
je 0x1001d9e8
sub eax, edi
sar eax, 1
push eax
push 0
mov eax, 0x407180
call eax
push 1
movzx eax, word [edi + eax*2]
mov dword [ebp - 0x1f4], eax
push eax
mov eax, 0x743c60
call eax
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1001d9e8
mov eax, dword [edi + 0xc]
cmp eax, 0x141
jl 0x1001d9e8
sub esp, 0xc
mov dword [ebp - 0x1ec], eax
mov ecx, esp
mov byte [ebp - 0x1e2], 1
lea eax, [ebp - 0x1e8]
lea edx, [ebp - 0x1ec]
push ecx
push eax
push edx
call fcn.1001b270
mov dl, byte [ebp - 0x1e2]
mov ecx, 0x10
call fcn.10012130
add esp, 0xc
mov ecx, esi
mov eax, 0x5e6320
call eax
push 1
push 0x270f
push dword [ebp - 0x1f4]
mov ecx, esi
mov eax, 0x5e6080
call eax
push dword [edi + 0x14]
mov ecx, esi
mov eax, 0x5e61f0
call eax
mov byte [ebp - 0x1e1], 1
jmp 0x1001d9ef
mov byte [ebp - 0x1e1], 0
lea ecx, [ebp - 0x234]
call fcn.1000b2b0
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1e0]
test al, 8
je 0x1001da66
mov edx, dword [ebp - 0x60]
and eax, 0xfffffff7
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1001da54
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001da44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
mov eax, dword [ebp - 0x1e0]
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 0x19
test al, 4
je 0x1001dac6
mov edx, dword [ebp - 0x48]
and eax, 0xfffffffb
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1001dab4
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001daaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x8c]
call fcn.1000bf10
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
call fcn.1000bf10
cmp byte [ebp - 0x1e1], 0
je 0x1001db07
push 2
push 0
mov eax, 0x407180
call eax
add esp, 8
test eax, eax
jne 0x1001db07
cmp byte [ebp - 0x1ed], al
jne 0x1001df03
mov edx, dword [ebp - 0xdc]
mov eax, 0x7fffffff
mov edi, dword [ebp - 0xc4]
sub eax, edx
cmp eax, edi
jb 0x1001e9f0
cmp dword [ebp - 0xd8], 0x10
lea ecx, [ebp - 0xec]
push edi
cmovae ecx, dword [ebp - 0xec]
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 0x10
cmovae eax, dword [ebp - 0xd4]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x200]
lea ecx, [ebp - 0x104]
call fcn.1001ef30
or dword [ebp - 0x1e0], 0x1000000
mov ecx, 0x100ae910
mov byte [ebp - 4], 0x1e
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001db76
sub ecx, edx
push ecx
push 0x100ae910
lea ecx, [ebp - 0x104]
call fcn.1000c9a0
push eax
lea ecx, [ebp - 0xbc]
call fcn.1000c010
or dword [ebp - 0x1e0], 0x2000000
push 0xc
push str._WEAPONFORCE
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1f
call fcn.1000c9a0
push eax
lea ecx, [ebp - 0x8c]
call fcn.1000c010
mov eax, dword [ebp - 0x1e0]
or eax, 0x4000000
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0x20
lea edi, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
mov ecx, dword [ebp - 0x7c]
cmovae edi, dword [ebp - 0x8c]
cmp dword [ebp - 0x208], 0
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x1fc], ecx
je 0x1001dc4d
mov dword [ebp - 0x5c], 0
push 6
push str.Global
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 0x20
call fcn.1000c8b0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x1e0]
or eax, 0x10
jmp 0x1001dcfe
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
cmovae edx, dword [ebp - 0xa4]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1f4], edx
cmp ecx, 0x10
jae 0x1001dca0
movups xmm0, xmmword [edx]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0xf
movups xmmword [ebp - 0x74], xmm0
jmp 0x1001dcf1
mov edi, ecx
mov eax, 0x7fffffff
or edi, 0xf
lea ecx, [ebp - 0x74]
cmp edi, 0x7fffffff
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.1000cb00
mov ecx, dword [ebp - 0x1ec]
inc ecx
mov dword [ebp - 0x74], eax
push ecx
push dword [ebp - 0x1f4]
push eax
call fcn.100563d0
mov eax, dword [ebp - 0x1ec]
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x60], edi
mov edi, dword [ebp - 0x204]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0x23
or eax, 0x20
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
mov eax, dword [ecx + 0x10]
jb 0x1001dd15
mov ecx, dword [ecx]
push dword [ebp - 0x1fc]
push edi
push eax
push ecx
push 2
lea eax, [ebp - 0x240]
mov ecx, 0x10098bc4
push eax
call fcn.1000abb0
mov dword [ebp - 4], 0x24
mov edi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x23c]
cmp edi, eax
je 0x1001ddee
sub eax, edi
sar eax, 1
push eax
push 0
mov eax, 0x407180
call eax
push 1
movzx eax, word [edi + eax*2]
mov dword [ebp - 0x1f4], eax
push eax
mov eax, 0x743c60
call eax
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1001ddee
mov eax, dword [edi + 0xc]
cmp eax, 0x141
jl 0x1001ddee
sub esp, 0xc
mov dword [ebp - 0x220], eax
mov ecx, esp
mov byte [ebp - 0x1e2], 1
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x220]
push ecx
push eax
push edx
call fcn.1001b270
mov dl, byte [ebp - 0x1e2]
mov ecx, 0x10
call fcn.10012130
add esp, 0xc
mov ecx, esi
mov eax, 0x5e6320
call eax
push 1
push 0x270f
push dword [ebp - 0x1f4]
mov ecx, esi
mov eax, 0x5e6080
call eax
push dword [edi + 0x14]
mov ecx, esi
mov eax, 0x5e61f0
call eax
mov byte [ebp - 0x1e2], 1
jmp 0x1001ddf5
mov byte [ebp - 0x1e2], 0
lea ecx, [ebp - 0x240]
call fcn.1000b2b0
mov al, byte [ebp - 0x1e1]
or al, byte [ebp - 0x1e2]
mov byte [ebp - 0x1e1], al
mov dword [ebp - 4], 0x22
mov eax, dword [ebp - 0x1e0]
test al, 0x20
je 0x1001de7e
mov edx, dword [ebp - 0x60]
and eax, 0xffffffdf
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1001de6c
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001de5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
mov eax, dword [ebp - 0x1e0]
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 0x20
test al, 0x10
je 0x1001dede
mov edx, dword [ebp - 0x48]
and eax, 0xffffffef
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1001decc
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001dec2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x8c]
call fcn.1000bf10
lea ecx, [ebp - 0xbc]
call fcn.1000bf10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 8
call fcn.1000bf10
cmp byte [ebp - 0x1e1], 0
jne 0x1001e935
mov eax, dword [ebp - 0x228]
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp + ecx*4 - 0x44]
mov dword [ebp - 0x1f4], edx
test edx, edx
je 0x1001e91c
mov eax, dword [eax]
lea edi, [ebp - 0x5f]
mov dword [ebp - 0x1f8], eax
test ecx, ecx
jns 0x1001df70
neg ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [edi], cl
mov ecx, edx
test ecx, ecx
jne 0x1001df47
dec edi
mov byte [edi], 0x2d
jmp 0x1001dfa6
mov dword [ebp - 0x1e8], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x1e8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x1e8], eax
test eax, eax
jne 0x1001df76
push ecx
lea eax, [ebp - 0x5f]
push eax
push edi
lea ecx, [ebp - 0x11c]
call fcn.1000da00
or dword [ebp - 0x1e0], 0x18000000
mov byte [ebp - 4], 0x25
mov eax, 0x7fffffff
mov edx, dword [ebp - 0xdc]
sub eax, edx
mov edi, dword [ebp - 0xc4]
cmp eax, edi
jb 0x1001e9f0
cmp dword [ebp - 0xd8], 0x10
lea ecx, [ebp - 0xec]
push edi
cmovae ecx, dword [ebp - 0xec]
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 0x10
cmovae eax, dword [ebp - 0xd4]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x200]
lea ecx, [ebp - 0x134]
call fcn.1001ef30
or dword [ebp - 0x1e0], 0x20000000
push 4
push str.SLOT
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x26
call fcn.1000c9a0
push eax
lea ecx, [ebp - 0x104]
call fcn.1000c010
or dword [ebp - 0x1e0], 0x40000000
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x200]
lea ecx, [ebp - 0xbc]
call fcn.1001ed70
mov eax, dword [ebp - 0x1e0]
or eax, 0x80000000
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0x28
lea edi, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov ecx, dword [ebp - 0xac]
cmovae edi, dword [ebp - 0xbc]
cmp dword [ebp - 0x208], 0
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x21c], ecx
je 0x1001e10e
mov dword [ebp - 0x8c], 0
push 6
push str.Global
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0x28
call fcn.1000c8b0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 0x1e0]
or eax, 0x40
jmp 0x1001e1c1
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
cmovae edx, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x204], edx
cmp ecx, 0x10
jae 0x1001e161
movups xmm0, xmmword [edx]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0xf
movups xmmword [ebp - 0x5c], xmm0
jmp 0x1001e1b2
mov edi, ecx
mov eax, 0x7fffffff
or edi, 0xf
lea ecx, [ebp - 0x5c]
cmp edi, 0x7fffffff
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.1000cb00
mov ecx, dword [ebp - 0x1fc]
inc ecx
mov dword [ebp - 0x5c], eax
push ecx
push dword [ebp - 0x204]
push eax
call fcn.100563d0
mov eax, dword [ebp - 0x1fc]
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x224]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0x2b
or eax, 0x80
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
mov eax, dword [ecx + 0x10]
jb 0x1001e1d8
mov ecx, dword [ecx]
push dword [ebp - 0x21c]
push edi
push eax
push ecx
push 2
lea eax, [ebp - 0x24c]
mov ecx, 0x10098bc4
push eax
call fcn.1000abb0
mov dword [ebp - 4], 0x2c
mov edi, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x248]
cmp edi, eax
je 0x1001e2ea
sub eax, edi
sar eax, 1
push eax
push 0
mov eax, 0x407180
call eax
push 1
movzx eax, word [edi + eax*2]
mov dword [ebp - 0x204], eax
push eax
mov eax, 0x743c60
call eax
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1001e2ea
mov eax, dword [edi + 0xc]
cmp eax, 0x141
jl 0x1001e2ea
sub esp, 0xc
mov dword [ebp - 0x1fc], eax
mov ecx, esp
mov byte [ebp - 0x1e2], 1
lea eax, [ebp - 0x1f8]
lea edx, [ebp - 0x1fc]
push ecx
push eax
push edx
call fcn.1001b270
mov dl, byte [ebp - 0x1e2]
mov ecx, 0x10
call fcn.10012130
mov eax, dword [ebp - 0x1f8]
add esp, 0xc
mov ecx, esi
test eax, eax
je 0x1001e2b8
push eax
mov eax, 0x5e62b0
call eax
push 1
push 0x270f
push dword [ebp - 0x204]
mov ecx, esi
mov eax, 0x5e6080
call eax
mov byte [ebp - 0x1e1], 1
jmp 0x1001e2f1
mov eax, 0x5e6320
call eax
push 1
push 0x270f
push dword [ebp - 0x204]
mov ecx, esi
mov eax, 0x5e6080
call eax
push dword [edi + 0x14]
mov ecx, esi
mov eax, 0x5e61f0
call eax
mov byte [ebp - 0x1e1], 1
jmp 0x1001e2f1
mov byte [ebp - 0x1e1], 0
lea ecx, [ebp - 0x24c]
call fcn.1000b2b0
mov dword [ebp - 4], 0x2a
mov eax, dword [ebp - 0x1e0]
test al, al
jns 0x1001e36a
mov edx, dword [ebp - 0x48]
and eax, 0xffffff7f
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
cmp edx, 0x10
jb 0x1001e358
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e348
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
mov eax, dword [ebp - 0x1e0]
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0x28
test al, 0x40
je 0x1001e38f
and eax, 0xffffffbf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
call fcn.1000bf10
lea ecx, [ebp - 0xbc]
call fcn.1000bf10
lea ecx, [ebp - 0x104]
call fcn.1000bf10
lea ecx, [ebp - 0x134]
call fcn.1000bf10
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 8
call fcn.1000bf10
cmp byte [ebp - 0x1e1], 0
je 0x1001e3dd
call fcn.1001ed50
test al, al
jne 0x1001e3dd
cmp byte [ebp - 0x1ed], al
jne 0x1001e582
mov edi, dword [ebp - 0x20c]
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x1ec]
mov edi, dword [edi]
call fcn.10008e20
mov esi, eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x2d
push eax
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x5c]
call fcn.1001ec40
push 0x100ae910
mov edx, eax
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0xbc]
call fcn.100195c0
push str._SLOT
mov edx, eax
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x8c]
call fcn.100195c0
push esi
mov edx, eax
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x104]
call fcn.1001ec90
add esp, 0x10
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x31
push ecx
mov ecx, eax
call fcn.1000bed0
cmp dword [ebp - 0x208], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1f8], eax
je 0x1001e498
push str.Global
lea ecx, [ebp - 0x134]
call fcn.1000c170
mov ecx, eax
mov byte [ebp - 4], 0x32
mov eax, dword [ebp - 0x1e0]
or eax, 0x100
jmp 0x1001e4be
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x11c]
call fcn.1000c1f0
mov ecx, eax
mov dword [ebp - 4], 0x33
mov eax, dword [ebp - 0x1e0]
or eax, 0x200
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x264]
push eax
call fcn.1000bed0
push edi
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x214]
push esi
push dword [eax + 4]
push dword [eax]
call fcn.1001ea00
or byte [ebp - 0x1e1], al
mov eax, dword [ebp - 0x1e0]
test eax, 0x200
je 0x1001e523
and eax, 0xfffffdff
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
call fcn.1000bf10
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0x31
test eax, 0x100
je 0x1001e54d
and eax, 0xfffffeff
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
call fcn.1000bf10
lea ecx, [ebp - 0x104]
call fcn.1000bf10
lea ecx, [ebp - 0x8c]
call fcn.1000bf10
lea ecx, [ebp - 0xbc]
call fcn.1000bf10
lea ecx, [ebp - 0x5c]
call fcn.1000bf10
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.1000bf10
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x1f4]
mov edi, dword [eax]
call fcn.1001c4e0
mov esi, eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x34
push eax
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call fcn.1001ec40
push str.WEAPON
mov edx, eax
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x8c]
call fcn.100195c0
push esi
mov edx, eax
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x104]
call fcn.1001ec90
add esp, 0xc
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x37
push ecx
mov ecx, eax
call fcn.1000bed0
cmp dword [ebp - 0x208], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1f8], eax
je 0x1001e62a
push str.Global
lea ecx, [ebp - 0x134]
call fcn.1000c170
mov ecx, eax
mov byte [ebp - 4], 0x38
mov eax, dword [ebp - 0x1e0]
or eax, 0x400
jmp 0x1001e650
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x11c]
call fcn.1000c1f0
mov ecx, eax
mov dword [ebp - 4], 0x39
mov eax, dword [ebp - 0x1e0]
or eax, 0x800
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x284]
push eax
call fcn.1000bed0
push edi
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x214]
push esi
push dword [eax + 4]
push dword [eax]
call fcn.1001ea00
cmp al, 1
jne 0x1001e692
mov byte [ebp - 0x1e1], al
mov byte [ebp - 0x1e2], al
jmp 0x1001e699
mov byte [ebp - 0x1e2], 0
mov eax, dword [ebp - 0x1e0]
test eax, 0x800
je 0x1001e6c8
and eax, 0xfffff7ff
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
call fcn.1000bf10
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0x37
test eax, 0x400
je 0x1001e6f2
and eax, 0xfffffbff
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
call fcn.1000bf10
lea ecx, [ebp - 0x104]
call fcn.1000bf10
lea ecx, [ebp - 0x8c]
call fcn.1000bf10
lea ecx, [ebp - 0xbc]
call fcn.1000bf10
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.1000bf10
cmp byte [ebp - 0x1e2], 0
je 0x1001e73d
call fcn.1001ed50
test al, al
jne 0x1001e73d
cmp byte [ebp - 0x1ed], al
jne 0x1001e8ee
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x1c4]
mov edx, dword [ebp - 0x1f4]
mov edi, dword [eax]
call fcn.1001c4e0
mov esi, eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x3a
push eax
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x14c]
call fcn.1001ec40
push 0x100ae910
mov edx, eax
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x164]
call fcn.100195c0
push str._WEAPON
mov edx, eax
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x17c]
call fcn.100195c0
push esi
mov edx, eax
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x194]
call fcn.1001ec90
add esp, 0x10
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x3e
push ecx
mov ecx, eax
call fcn.1000bed0
cmp dword [ebp - 0x208], 0
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1f8], eax
je 0x1001e7fe
push str.Global
lea ecx, [ebp - 0x1dc]
call fcn.1000c170
mov ecx, eax
mov byte [ebp - 4], 0x3f
mov eax, dword [ebp - 0x1e0]
or eax, 0x1000
jmp 0x1001e824
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.1000c1f0
mov ecx, eax
mov dword [ebp - 4], 0x40
mov eax, dword [ebp - 0x1e0]
or eax, 0x2000
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x254]
push eax
call fcn.1000bed0
push edi
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x214]
push esi
push dword [eax + 4]
push dword [eax]
call fcn.1001ea00
or byte [ebp - 0x1e1], al
mov eax, dword [ebp - 0x1e0]
test eax, 0x2000
je 0x1001e889
and eax, 0xffffdfff
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
call fcn.1000bf10
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0x3e
test eax, 0x1000
je 0x1001e8b3
and eax, 0xffffefff
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e8], eax
call fcn.1000bf10
lea ecx, [ebp - 0x194]
call fcn.1000bf10
lea ecx, [ebp - 0x17c]
call fcn.1000bf10
lea ecx, [ebp - 0x164]
call fcn.1000bf10
lea ecx, [ebp - 0x14c]
call fcn.1000bf10
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 8
call fcn.1000bf10
cmp byte [ebp - 0x1e1], 0
je 0x1001e90a
push dword [ebp - 0x200]
mov ecx, dword [ebp - 0x218]
mov eax, 0x5e61f0
call eax
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x1ec]
mov esi, dword [ebp - 0x214]
inc ecx
add eax, 0x1c
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x20c], eax
cmp ecx, 0xd
jl 0x1001df24
lea ecx, [ebp - 0xec]
call fcn.1000bf10
lea ecx, [ebp - 0xd4]
call fcn.1000bf10
jmp 0x1001e983
mov byte [ebp - 4], 4
cmp edi, 0x10
jb 0x1001e983
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e979
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e9f5
push edx
push ecx
call fcn.10054b98
add esp, 8
mov ecx, dword [ebp - 0x210]
mov al, byte [ebp - 0x1e1]
inc ecx
mov dword [ebp - 0x210], ecx
cmp ecx, 4
jl 0x1001d300
mov ecx, dword [ebp - 0x208]
inc ecx
mov dword [ebp - 0x208], ecx
cmp ecx, 2
jl 0x1001d2f1
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.1000bf10
mov esi, dword [0x100cc9a0]
test esi, esi
jne 0x1001cfe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054947
mov esp, ebp
pop ebp
ret
call fcn.10008e10
call fcn.1006014f
int3