Function at 0x10021bfe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070ea2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x36c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10023082
mov dword [ebp - 0x150], 0x4b0
mov dword [ebp - 0x1c8], 0x10007e30
cmp dword [ebp - 0x150], 0x4f1
jle 0x10021cc5
and dword [ebp - 0x5c], 0
jmp 0x10021c5c
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x2988
jge 0x10021cc5
and dword [ebp - 0x64], 0
jmp 0x10021c72
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x3183
jge 0x10021cc3
and dword [ebp - 0x50], 0
jmp 0x10021c88
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x46b
jge 0x10021cc1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
shl eax, cl
and eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], edx
push dword [ebp - 0x258]
push dword [ebp - 0x25c]
mov ecx, 0x10618758
call fcn.10017a2f
jmp 0x10021c81
jmp 0x10021c6b
jmp 0x10021c55
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x150], 0x456
jge 0x10021cee
mov edx, dword [ebp - 0x1c8]
mov ecx, 0x10618758
call fcn.1001bf11
jmp 0x10021d0a
or dword [ebp - 4], 0xffffffff
jmp 0x10021d14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x254], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x250]
movzx eax, byte [eax]
test eax, eax
je 0x10021f2b
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x1f4], eax
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.10017dd6
cmp dword [eax], 8
jne 0x10021e36
mov dword [ebp - 0x1a0], 1
jmp 0x10021e3d
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1ec]
mov esi, dword [eax]
add esi, dword [ebp - 0x1a0]
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.10017dd6
imul esi, dword [eax]
mov eax, dword [ebp - 0x244]
cmp dword [eax], esi
jge 0x10021e6e
mov dword [ebp - 0xa4], 1
jmp 0x10021e75
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xa4]
je 0x10021e91
mov dword [ebp - 0x164], 1
jmp 0x10021e98
and dword [ebp - 0x164], 0
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.10017dd6
mov ecx, dword [ebp - 0x164]
cmp ecx, dword [eax]
jle 0x10021eb8
mov dword [ebp - 0x12c], 1
jmp 0x10021ebf
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0xb4]
mov ecx, 0x3196e86f
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x12c]
jne 0x10021ee0
mov dword [ebp - 0xbc], 1
jmp 0x10021ee7
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x1f4]
mov eax, dword [eax]
cmp dword [ebp - 0xbc], eax
jl 0x10021f03
mov dword [ebp - 0x94], 1
jmp 0x10021f0a
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
jmp 0x10023080
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x34], 0xfff8
mov dword [ebp - 0x7c], 0x6525
mov dword [ebp - 0x2d8], 0x6b586fa6
mov dword [ebp - 0x300], 6
mov dword [ebp - 0x32c], 0xccce1cc0
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10021fa9
mov dword [ebp - 0x8c], 0x7834
cmp dword [ebp - 0x8c], 0
jne 0x10021fa9
and dword [ebp - 0x184], 0
jmp 0x10021fb3
mov dword [ebp - 0x184], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x184]
jne 0x10021fca
mov dword [ebp - 0xcc], 1
jmp 0x10021fd1
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0x1c], 0
je 0x10021fe9
cmp dword [ebp - 0x1c], 0
je 0x10021fe9
mov dword [ebp - 0xc4], 1
jmp 0x10021ff0
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xc4], eax
jl 0x10022001
cmp dword [ebp - 0x1c], 0
jne 0x10022010
cmp dword [ebp - 0x7c], 0
jne 0x10022010
and dword [ebp - 0x134], 0
jmp 0x1002201a
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0x134]
cmp dword [ebp - 0xcc], eax
jge 0x10022038
mov dword [ebp - 0x16c], 1
jmp 0x1002203f
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x16c], eax
jge 0x10022056
mov dword [ebp - 0xd4], 1
jmp 0x1002205d
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd4], eax
jne 0x10022074
mov dword [ebp - 0x13c], 1
jmp 0x1002207b
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x13c], eax
jge 0x10022092
mov dword [ebp - 0xdc], 1
jmp 0x10022099
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xdc], eax
jne 0x100220b0
mov dword [ebp - 0x194], 1
jmp 0x100220b7
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
je 0x10022107
mov dword [ebp - 0x308], 0xfffffff6
mov dword [ebp - 0x2dc], 0x4433ac25
mov dword [ebp - 0x2e4], 0xfffffffa
mov dword [ebp - 0x2ec], 0xfffffff9
push 1
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x17cb
call fcn.1001f3fb
add esp, 0x10
jmp 0x100221ea
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x8c], 0
je 0x10022160
cmp dword [ebp - 0xe4], 0
je 0x10022160
mov dword [ebp - 0x144], 1
jmp 0x10022167
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x144]
jge 0x100221a6
mov byte [ebp - 0x35], 0
push 0x10d9
push 0x2636
push 0
push 1
lea eax, [ebp - 0x35]
push eax
push 0x1374
push 0
push 0x472c
push 0x778c
call fcn.10034104
add esp, 0x24
jmp 0x100221ea
mov dword [ebp - 0x4c], 0
jmp 0x100221b6
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jg 0x100221ea
mov dword [ebp - 0x34], 0
jmp 0x100221cc
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x100221e8
push 0x4e0d
push 0
push 0x60fd
call fcn.1002cb26
add esp, 0xc
jmp 0x100221c5
jmp 0x100221af
and dword [ebp - 0x364], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x360]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x364]
push eax
push dword [ebp - 0x234]
push 0x777f
push 0x6891
call fcn.10051b1e
pop ecx
pop ecx
call eax
test eax, eax
je 0x10022cea
mov dword [ebp - 0x3c], 0x8a8f9390
mov dword [ebp - 0xfc], 0x5d3c095b
mov dword [ebp - 0x18c], 0x7662b0a9
mov dword [ebp - 0x54], 0
jmp 0x10022253
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x10022269
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x290], 0x9822cb3a
jmp 0x1002224c
cmp dword [ebp - 0x3c], 0
je 0x1002235a
mov byte [ebp - 0x2e], 0
push 0x4ee1
push 0x70d5
push 0
push 0x4c4f
push 0x27a1
push 0
push 0x5b9c
lea eax, [ebp - 0x2e]
push eax
push 0x168e
call fcn.1002d1aa
add esp, 0x24
mov dword [ebp - 0x3c], 0xffffffe7
jmp 0x100222b5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x39
jne 0x10022355
push 3
lea ecx, [ebp - 0x2d4]
call fcn.10017d38
mov dword [ebp - 4], 2
mov dword [ebp - 0x20c], 0xfffffffb
push 0x104
lea eax, [ebp - 0x2d4]
push eax
push 1
lea eax, [ebp - 0x2fc]
push eax
push 1
push 0x6037
push 0x29e9
call fcn.1001ee1e
add esp, 0x1c
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x4f2e
push 0x310d
push 0x2e26
push 0x38b8
push 0x1cea
push 0
push 0x1e1e
push 0x6372
call fcn.1002dbbf
add esp, 0x28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.10017dba
jmp 0x100222ae
jmp 0x100226f1
mov dword [ebp - 0x20], 0x5b0e82ca
mov dword [ebp - 0x60], 0xb885
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x290], 0
je 0x10022388
xor eax, eax
je 0x10022388
mov dword [ebp - 0x174], 1
jmp 0x1002238f
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x20], 0x348c
jg 0x100223a4
mov dword [ebp - 0xec], 1
jmp 0x100223ab
and dword [ebp - 0xec], 0
imul eax, dword [ebp - 0xec], 0x48bd
cmp eax, dword [ebp - 0x20]
jge 0x100223c6
mov dword [ebp - 0xf4], 1
jmp 0x100223cd
and dword [ebp - 0xf4], 0
imul eax, dword [ebp - 0x174], 0x607a
cmp eax, dword [ebp - 0xf4]
jle 0x10022610
mov dword [ebp - 0x2a4], 0xc4365de
mov dword [ebp - 0x2a0], 0xc4365de
mov dword [ebp - 0x29c], 0xc4365de
mov dword [ebp - 0x298], 0xc4365de
lea ecx, [ebp - 0x71]
call fcn.10017de5
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x36c]
call fcn.10017de8
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x280]
call fcn.10017d94
mov dword [ebp - 4], 3
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x58], 0
jmp 0x1002245e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x10022474
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x348], 1
jmp 0x10022457
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x290]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24c]
jl 0x1002249e
mov dword [ebp - 0x14c], 1
jmp 0x100224a5
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x18c], 4
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x2e0], eax
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x348]
push 3
lea ecx, [ebp - 0x280]
call fcn.10017dd6
cmp dword [eax], esi
jle 0x10022515
mov dword [ebp - 0x104], 1
jmp 0x1002251c
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x104]
jl 0x10022533
mov dword [ebp - 0x154], 1
jmp 0x1002253a
and dword [ebp - 0x154], 0
push 2
lea ecx, [ebp - 0x280]
call fcn.10017dd6
mov ecx, dword [ebp - 0x154]
cmp ecx, dword [eax]
jg 0x1002255d
mov dword [ebp - 0x10c], 1
jmp 0x10022564
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x290]
imul esi, dword [ebp - 0x10c]
push 1
lea ecx, [ebp - 0x280]
call fcn.10017dd6
cmp dword [eax], esi
jne 0x10022594
mov dword [ebp - 0x84], 1
jmp 0x1002259b
and dword [ebp - 0x84], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax - 0x348], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x84], eax
jg 0x100225c4
mov dword [ebp - 0x17c], 1
jmp 0x100225cb
and dword [ebp - 0x17c], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x290]
cmp eax, dword [ebp - 0x17c]
jl 0x100225ec
mov dword [ebp - 0x114], 1
jmp 0x100225f3
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x20], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.10017dba
jmp 0x100226dd
mov dword [ebp - 0x19c], 0xffffffff
mov dword [ebp - 0x15c], 8
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x19c]
jle 0x1002263b
mov dword [ebp - 0x214], 1
jmp 0x10022642
and dword [ebp - 0x214], 0
mov dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0
je 0x10022667
cmp dword [ebp - 0x20], 0
je 0x10022667
mov dword [ebp - 0x11c], 1
jmp 0x1002266e
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
sub eax, 3
cmp eax, dword [ebp - 0x19c]
jl 0x1002268b
mov dword [ebp - 0xa0], 1
jmp 0x10022692
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x124], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x290], ecx
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0xa0]
je 0x100226ca
cmp dword [ebp - 0x60], 0
jne 0x100226ca
and dword [ebp - 0xb0], 0
jmp 0x100226d4
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x20], eax
push 0x72ef
push 0x2fb2
push 0
call fcn.10025f4c
add esp, 0xc
mov dword [ebp - 0x1f8], 0xee
mov dword [ebp - 0x28], 0xe1e2
push 1
lea ecx, [ebp - 0x1ac]
call fcn.10017d38
mov dword [ebp - 4], 4
push 3
lea ecx, [ebp - 0x274]
call fcn.10017d38
mov byte [ebp - 4], 5
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0xd8], 0xfc4b664f
mov dword [ebp - 0x1d8], 0xbd5d5181
mov dword [ebp - 0x78], 0xf5b872a
mov dword [ebp - 0x44], 0
jmp 0x10022763
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x10022776
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x24], 0x66b7a7bc
jmp 0x1002275c
push 0x2cab
lea eax, [ebp - 0x1ac]
push eax
push 0
push 0x7c51
lea eax, [ebp - 0x44]
push eax
call fcn.10034922
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x274]
push eax
call fcn.100251d0
add esp, 0xc
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x70], eax
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017dd6
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x274]
call fcn.10017dd6
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
cmp dword [ebp - 0x70], 0
je 0x100227ff
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017dd6
cmp dword [eax], 0
je 0x100227ff
mov dword [ebp - 0xb8], 1
jmp 0x10022806
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp eax, dword [ebp - 0xb8]
jge 0x10022824
mov dword [ebp - 0x1cc], 1
jmp 0x1002282b
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x310], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x2e8], eax
push 0
lea ecx, [ebp - 0x274]
call fcn.10017dd6
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x1002286e
mov dword [ebp - 0x1c4], 1
jmp 0x10022875
and dword [ebp - 0x1c4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x338], eax
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x24]
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017dd6
cmp dword [eax], esi
jne 0x100228ac
mov dword [ebp - 0xc8], 1
jmp 0x100228b3
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0xc8]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x100228e1
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10017dd6
cmp dword [eax], 0
jne 0x100228e1
and dword [ebp - 0xd0], 0
jmp 0x100228eb
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
sub eax, 0x3a36ca35
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xfffa
je 0x10022914
mov dword [ebp - 0xe0], 1
jmp 0x1002291b
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0xe0], eax
jle 0x10022939
mov dword [ebp - 0xe8], 1
jmp 0x10022940
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0xe8], eax
jge 0x1002295e
mov dword [ebp - 0xf0], 1
jmp 0x10022965
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xc6bcfb65
je 0x1002297d
mov dword [ebp - 0xf8], 1
jmp 0x10022984
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xffff
jb 0x1002299c
mov dword [ebp - 0x100], 1
jmp 0x100229a3
and dword [ebp - 0x100], 0
push 4
pop eax
imul eax, eax, 0
imul ecx, dword [ebp - 0x100], 6
cmp ecx, dword [ebp + eax - 0x24]
jg 0x100229c2
mov dword [ebp - 0x108], 1
jmp 0x100229c9
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0x205e60d1
je 0x100229e1
mov dword [ebp - 0x110], 1
jmp 0x100229e8
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1d8]
imul eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x28]
jge 0x10022a06
mov dword [ebp - 0x118], 1
jmp 0x10022a0d
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x28]
jl 0x10022a2a
mov dword [ebp - 0x120], 1
jmp 0x10022a31
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0x120], eax
jle 0x10022a51
xor eax, eax
inc eax
jne 0x10022a51
and dword [ebp - 0x128], 0
jmp 0x10022a5b
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x128]
neg eax
cmp dword [ebp - 0x28], eax
jge 0x10022a7b
push 9
pop eax
test eax, eax
je 0x10022a7b
mov dword [ebp - 0x1c0], 1
jmp 0x10022a82
and dword [ebp - 0x1c0], 0
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x10022ac7
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10022aa2
push 0x172c
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10022ac2
push 0x3cc9
push 0
push 0x58ae
call fcn.100311da
add esp, 0xc
jmp 0x10022b93
mov dword [ebp - 0x1e8], 0xf7a324c9
mov dword [ebp - 0x28], 0x19
jmp 0x10022ae1
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffe4
jge 0x10022b93
push 1
lea ecx, [ebp - 0x2c8]
call fcn.10017d38
mov byte [ebp - 4], 6
mov dword [ebp - 0x1f0], 0xc4ff2d4e
push 0
push 0x6ba3
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x2c8]
push eax
push 0x194a
call fcn.10031a43
add esp, 0x14
lea eax, [ebp - 0x1e8]
push eax
push 1
push 1
lea eax, [ebp - 0x78]
push eax
push 0x2275
call fcn.1001ebf9
add esp, 0x14
push 0
lea ecx, [ebp - 0x2c8]
call fcn.10017dd6
mov dword [eax], 0x4fc6bf2a
cmp dword [ebp - 0x1f0], 0x4fc6bf2a
jne 0x10022b6f
mov dword [ebp - 0x130], 1
jmp 0x10022b76
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c8]
call fcn.10017dba
jmp 0x10022ada
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x274]
call fcn.10017dba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.10017dba
mov eax, dword [ebp - 0x350]
and eax, dword [ebp - 0x1f8]
jne 0x10022bcb
mov dword [ebp - 0x138], 1
jmp 0x10022bd2
and dword [ebp - 0x138], 0
mov al, byte [ebp - 0x138]
mov byte [ebp - 0x11], al
mov dword [ebp - 0x68], 1
push 4
lea ecx, [ebp - 0x2b0]
call fcn.10017d38
mov dword [ebp - 4], 7
mov dword [ebp - 0x208], 0xeb59
mov dword [ebp - 0x48], 0
jmp 0x10022c10
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10022c26
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x37c], 0x82062403
jmp 0x10022c09
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0
push 1
push 0x1cc0
push 1
push 0x32f5
call fcn.10027b21
add esp, 0x1c
mov dword [ebp - 0x68], 3
jmp 0x10022c59
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x10022c98
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x318], 0xfffffffe
push 0
push 1
push 0
push 0x690f
call fcn.10020cc6
add esp, 0x10
push 0
lea eax, [ebp - 0x200]
push eax
call fcn.10028134
pop ecx
pop ecx
jmp 0x10022c52
lea eax, [ebp - 0x2b0]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
push 0
call fcn.10034c49
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.10017dba
mov eax, dword [ebp - 0x350]
and eax, 0x101
je 0x10022cd2
mov byte [ebp - 0x11], 1
push 0
call fcn.1002600c
pop ecx
mov eax, dword [ebp - 0x198]
mov cl, byte [ebp - 0x11]
mov byte [eax], cl
jmp 0x1002308a
mov dword [ebp - 0x210], 0xfffffffa
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x178], 0xfffffff9
mov dword [ebp - 0x1b4], 0xcabfc393
mov dword [ebp - 0x160], 0xffffffff
push 3
lea ecx, [ebp - 0x2bc]
call fcn.10017d38
mov dword [ebp - 4], 8
mov dword [ebp - 0x88], 0xbaef6e22
mov dword [ebp - 0x220], 0x2cd8491f
mov dword [ebp - 0x230], 6
mov dword [ebp - 0x18], 0
jmp 0x10022d65
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10022d7b
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x268], 0xcfe04822
jmp 0x10022d5e
lea eax, [ebp - 0x18]
push eax
push 0x3a37
push 0
lea eax, [ebp - 0x2bc]
push eax
call fcn.10031736
add esp, 0x10
mov dword [ebp - 0x18], 0
jmp 0x10022da5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10022dbb
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xac], 0
jmp 0x10022d9e
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x88], ecx
cmp eax, 1
jge 0x10022de8
mov eax, 0x9d089051
test eax, eax
je 0x10022de8
mov dword [ebp - 0x180], 1
jmp 0x10022def
and dword [ebp - 0x180], 0
push 0xfffffffffffffff6
pop eax
sub eax, dword [ebp - 0x210]
jne 0x10022e09
cmp dword [ebp - 0x2c], 0
jne 0x10022e09
and dword [ebp - 0x140], 0
jmp 0x10022e13
mov dword [ebp - 0x140], 1
cmp dword [ebp - 0x140], 0
jbe 0x10022e31
cmp dword [ebp - 0x160], 0
je 0x10022e31
mov dword [ebp - 0x148], 1
jmp 0x10022e38
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp dword [ebp - 0x148], eax
jge 0x10022e59
mov dword [ebp - 0x90], 1
jmp 0x10022e60
and dword [ebp - 0x90], 0
push 0
lea ecx, [ebp - 0x2bc]
call fcn.10017dd6
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x268]
cmp dword [ebp - 0x90], eax
je 0x10022ea3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x268], 0
jne 0x10022ea3
and dword [ebp - 0x218], 0
jmp 0x10022ead
mov dword [ebp - 0x218], 1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x220]
jl 0x10022ec4
mov dword [ebp - 0x9c], 1
jmp 0x10022ecb
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10022ef3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xac], 0
jne 0x10022ef3
and dword [ebp - 0x158], 0
jmp 0x10022efd
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x178]
cmp dword [ebp - 0x158], eax
jle 0x10022f17
mov dword [ebp - 0x228], 1
jmp 0x10022f1e
and dword [ebp - 0x228], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x268]
mov dword [ebp - 0x330], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp eax, dword [ebp - 0x160]
je 0x10022f58
mov eax, 0x7fd5
test eax, eax
jne 0x10022f58
and dword [ebp - 0x168], 0
jmp 0x10022f62
mov dword [ebp - 0x168], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp dword [ebp - 0x168], eax
jl 0x10022f83
mov dword [ebp - 0x170], 1
jmp 0x10022f8a
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x230]
cmp dword [ebp - 0x170], eax
jne 0x10022fa4
mov dword [ebp - 0x98], 1
jmp 0x10022fab
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0xac], ecx
cmp dword [ebp - 0x98], 0
jne 0x10022fd9
cmp dword [ebp - 0x178], 0
jne 0x10022fd9
and dword [ebp - 0x188], 0
jmp 0x10022fe3
mov dword [ebp - 0x188], 1
mov eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x188]
jg 0x10022ffd
mov dword [ebp - 0x190], 1
jmp 0x10023004
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x2c], 0xffffffef
jmp 0x10023020
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa
jle 0x10023066
mov dword [ebp - 0x1b8], 0xbe76
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10023059
push 0x52a7
push 0x927
push 0x74ac
push 1
push 1
push 0
call fcn.100200af
add esp, 0x18
cmp dword [ebp - 0x1b8], 0
je 0x10023064
jmp 0x10023019
jmp 0x10023019
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.10017dba
mov eax, dword [ebp - 0x198]
mov byte [eax], 1
jmp 0x1002308a
jmp 0x1002308a
push 1
call fcn.1001d374
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret