Function at 0x100164de
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d4ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001651e
push 0x88d
push 0x6d3a
push 1
call fcn.10017879
add esp, 0xc
jmp 0x1001786a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1f8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x50], 0x9f9b3198
mov dword [ebp - 0x50], 0
jmp 0x10016550
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffe6
jl 0x10016576
cmp dword [ebp - 0x50], 0
je 0x1001655e
jmp 0x10016576
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x10016574
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x10016549
mov eax, dword [ebp - 0x1e4]
movzx eax, byte [eax]
test eax, eax
je 0x10017853
mov dword [ebp - 0x20], 0xd453
push 4
lea ecx, [ebp - 0x2a8]
call fcn.1002b6f7
and dword [ebp - 4], 0
mov dword [ebp - 0x2fc], 4
mov dword [ebp - 0x1c], 0
jmp 0x100165b9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x100165d2
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2a8]
call fcn.1002b7f6
and dword [eax], 0
jmp 0x100165b2
mov dword [ebp - 0x1c], 0
jmp 0x100165e2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x100165f8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2cc], 0x5e2138b3
jmp 0x100165db
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1001660f
push 0x23d2
call dword [sym.imp.USER32.dll_IsIconic]
cmp dword [ebp - 0x20], 0
je 0x10016647
mov dword [ebp - 0x23c], 4
mov dword [ebp - 0x20], 0
jmp 0x1001662f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x10016642
cmp dword [ebp - 0x23c], 0
je 0x10016640
jmp 0x10016642
jmp 0x10016628
jmp 0x10016877
mov dword [ebp - 0x7c], 0xdbc1c234
mov dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x2e8], 0x504ed09e
mov dword [ebp - 0x2f0], 0x6c56d20a
mov dword [ebp - 0x2f8], 0xcde30eca
mov dword [ebp - 0x300], 0xfffffffb
mov dword [ebp - 0x308], 0xfffffff8
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x2ac], 0xfffffffc
mov dword [ebp - 0x31c], 0x8a57461d
push 2
lea ecx, [ebp - 0x318]
call fcn.1002b6f7
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0
jmp 0x100166c9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x100166e5
push dword [ebp - 0x24]
lea ecx, [ebp - 0x318]
call fcn.1002b7f6
mov dword [eax], 2
jmp 0x100166c2
mov dword [ebp - 0x24], 0
jmp 0x100166f5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1001670b
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x25c], 0xb407cb0b
jmp 0x100166ee
mov dword [ebp - 0x20], 0
jmp 0x1001671b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jg 0x1001684d
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x7c], eax
jne 0x10016749
mov dword [ebp - 0x104], 1
jmp 0x10016750
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x104], eax
je 0x10016767
mov dword [ebp - 0x248], 1
jmp 0x1001676e
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2f4], eax
push 2
lea ecx, [ebp - 0x2a8]
call fcn.1002b7f6
cmp dword [eax], 0xe8b01213
jb 0x10016798
mov dword [ebp - 0xa4], 1
jmp 0x1001679f
and dword [ebp - 0xa4], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x44]
jl 0x100167b9
mov dword [ebp - 0x1ac], 1
jmp 0x100167c0
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x1ac], eax
jl 0x100167d7
mov dword [ebp - 0xac], 1
jmp 0x100167de
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x3e99
jne 0x100167f6
mov dword [ebp - 0x1b4], 1
jmp 0x100167fd
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1b4], eax
jle 0x10016814
mov dword [ebp - 0xb4], 1
jmp 0x1001681b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
add eax, 0xbac8
cmp eax, dword [ebp - 0x7c]
jne 0x10016837
mov dword [ebp - 0x1f0], 1
jmp 0x1001683e
and dword [ebp - 0x1f0], 0
mov dword [ebp - 0x240], 0x9a2a67f6
jmp 0x10016714
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x25c]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x25c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x318]
call fcn.1002b77b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.1002b77b
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], 0xfd52
mov dword [ebp - 0x48], 0xa198
push 2
lea ecx, [ebp - 0x1e0]
call fcn.1002b6f7
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], 0
jmp 0x100168cb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x100168e7
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1e0]
call fcn.1002b7f6
mov dword [eax], 0x3d925d3c
jmp 0x100168c4
mov dword [ebp - 0x2c], 0
jmp 0x100168f7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1001690d
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x208], 0x99d621dd
jmp 0x100168f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x18], 1
ja 0x10016931
mov eax, 0x99ea
test eax, eax
je 0x10016931
mov dword [ebp - 0x1bc], 1
jmp 0x10016938
and dword [ebp - 0x1bc], 0
cmp dword [ebp - 0x1bc], 0x36dc9922
jne 0x10016950
mov dword [ebp - 0xbc], 1
jmp 0x10016957
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0xffffffff
je 0x1001696c
mov dword [ebp - 0x230], 1
jmp 0x10016973
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x18], 7
ja 0x10016997
mov dword [ebp - 0x1c4], 1
jmp 0x1001699e
and dword [ebp - 0x1c4], 0
imul eax, dword [ebp - 0x1c4], 0
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx - 9]
imul eax, eax, 0xffffffff
cmp eax, dword [ebp - 0x14]
jg 0x100169c0
mov dword [ebp - 0xc4], 1
jmp 0x100169c7
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0xc4], eax
jne 0x100169de
mov dword [ebp - 0x1cc], 1
jmp 0x100169e5
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1cc]
cmp dword [ebp - 0x18], eax
jne 0x100169ff
mov dword [ebp - 0xcc], 1
jmp 0x10016a06
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
add eax, 5
mov dword [ebp - 0x1d4], 1
jmp 0x10016a22
cmp dword [ebp - 0x1d4], 0x1de2a907
jge 0x10016a3a
mov dword [ebp - 0xd8], 1
jmp 0x10016a41
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xd8]
jne 0x10016a58
mov dword [ebp - 0x200], 1
jmp 0x10016a5f
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x48], 0
je 0x10016aa5
mov dword [ebp - 0xd4], 0xffffffff
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
jmp 0x10016c00
mov dword [ebp - 0x54], 0x177fd8b2
mov dword [ebp - 0x70], 0xfffffffa
cmp dword [ebp - 0x70], 0
je 0x10016acb
cmp dword [ebp - 0x48], 0
je 0x10016acb
mov dword [ebp - 0x158], 1
jmp 0x10016ad2
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0x6953
jl 0x10016aea
mov dword [ebp - 0xe0], 1
jmp 0x10016af1
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
add eax, 0x7718da91
cmp eax, 0x7656
jge 0x10016b0f
mov dword [ebp - 0x198], 1
jmp 0x10016b16
and dword [ebp - 0x198], 0
imul eax, dword [ebp - 0x198], 0xffff
cmp dword [ebp - 0x18], eax
je 0x10016b31
mov dword [ebp - 0xe8], 1
jmp 0x10016b38
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xe8], eax
je 0x10016b55
cmp dword [ebp - 0x54], 0
je 0x10016b55
mov dword [ebp - 0x160], 1
jmp 0x10016b5c
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0xfffa
jb 0x10016b74
mov dword [ebp - 0xf0], 1
jmp 0x10016b7b
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xf0], eax
jge 0x10016b92
mov dword [ebp - 0x1b8], 1
jmp 0x10016b99
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x1b8], eax
jle 0x10016bb0
mov dword [ebp - 0xf8], 1
jmp 0x10016bb7
and dword [ebp - 0xf8], 0
imul eax, dword [ebp - 0xf8], 0xe874
cmp eax, dword [ebp - 0x54]
jle 0x10016bd2
mov dword [ebp - 0x168], 1
jmp 0x10016bd9
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x168]
jne 0x10016bf0
mov dword [ebp - 0x100], 1
jmp 0x10016bf7
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], 0
jmp 0x10016c10
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x31
jg 0x10016ded
mov dword [ebp - 0x4c], 0x5c8f
mov dword [ebp - 0x110], 0xfffffffc
mov dword [ebp - 0x18], 0xffffffec
jmp 0x10016c3b
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe8
jg 0x10016c55
mov byte [ebp - 0x40], 0
movzx eax, byte [ebp - 0x40]
test eax, eax
je 0x10016c53
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x10016c34
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x4c], 0
je 0x10016d2f
cmp dword [ebp - 0x4c], 0x6f0e
jge 0x10016c7d
mov dword [ebp - 0x1a0], 1
jmp 0x10016c84
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 1
je 0x10016c99
mov dword [ebp - 0x108], 1
jmp 0x10016ca0
and dword [ebp - 0x108], 0
push 0
lea ecx, [ebp - 0x1e0]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [eax]
jg 0x10016cc3
mov dword [ebp - 0x170], 1
jmp 0x10016cca
and dword [ebp - 0x170], 0
mov esi, dword [ebp - 0x4c]
add esi, dword [ebp - 0x170]
push 0
lea ecx, [ebp - 0x1e0]
call fcn.1002b7f6
imul esi, dword [eax]
mov dword [ebp - 0x110], esi
cmp dword [ebp - 0x110], 0
je 0x10016d10
push 1
lea ecx, [ebp - 0x1e0]
call fcn.1002b7f6
cmp dword [eax], 0
je 0x10016d10
mov dword [ebp - 0x1c8], 1
jmp 0x10016d17
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 0xaa2e
jle 0x10016d2f
mov dword [ebp - 0x234], 1
jmp 0x10016d36
and dword [ebp - 0x234], 0
push 1
lea ecx, [ebp - 0x1e0]
call fcn.1002b7f6
mov eax, 0xcd44
imul eax, eax, 0xffffffff
cmp eax, dword [ebp - 0x14]
jge 0x10016d65
mov eax, 0x1b10cd78
test eax, eax
je 0x10016d65
mov dword [ebp - 0x118], 1
jmp 0x10016d6c
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x118], eax
jg 0x10016d83
mov dword [ebp - 0x178], 1
jmp 0x10016d8a
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
dec eax
cmp eax, dword [ebp - 0x14]
jg 0x10016da2
mov dword [ebp - 0x120], 1
jmp 0x10016da9
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 9
jae 0x10016dbe
mov dword [ebp - 0x1a8], 1
jmp 0x10016dc5
and dword [ebp - 0x1a8], 0
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x208]
imul esi, dword [ebp - 0x1a8]
push 1
lea ecx, [ebp - 0x1e0]
call fcn.1002b7f6
mov dword [eax], esi
jmp 0x10016c09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.1002b77b
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1b0], 0x2cb5
mov dword [ebp - 0x324], 0xd085c9e5
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x5c], 0xfffffff6
mov dword [ebp - 0x210], 0x50315362
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x84], 0x2a26f3f1
push 1
lea ecx, [ebp - 0x254]
call fcn.1002b6f7
mov dword [ebp - 4], 3
mov dword [ebp - 0x218], 0x1637c1d6
mov dword [ebp - 0x228], 0x127b
mov dword [ebp - 0x3c], 0xe0cd5c0f
mov dword [ebp - 0x10], 0
jmp 0x10016e8a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10016ea6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x254]
call fcn.1002b7f6
mov dword [eax], 2
jmp 0x10016e83
mov dword [ebp - 0x10], 0
jmp 0x10016eb6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10016ecc
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x330], 0x12a3
jmp 0x10016eaf
mov dword [ebp - 0x10], 0
jmp 0x10016edc
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10016ef2
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x350], 0x693ce85d
jmp 0x10016ed5
imul eax, dword [ebp - 0x210], 0x4174
mov dword [ebp - 0x128], eax
push 0
lea ecx, [ebp - 0x254]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x128]
mov dword [eax], ecx
cmp dword [ebp - 0x128], 0
jne 0x10016f2c
mov dword [ebp - 0x130], 1
jmp 0x10016f33
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x304], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x228]
cmp dword [ebp + eax - 0x330], ecx
jge 0x10016f6c
mov dword [ebp - 0x180], 1
jmp 0x10016f73
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x84]
imul eax, dword [ebp - 0x180]
cmp eax, 0xfffffffd
je 0x10016f91
mov dword [ebp - 0x1c0], 1
jmp 0x10016f98
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x1c0]
cmp dword [ebp - 0x3c], eax
jle 0x10016fbc
mov dword [ebp - 0x138], 1
jmp 0x10016fc3
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x1b0]
cmp eax, dword [ebp - 0x138]
jge 0x10016fdd
mov dword [ebp - 0x188], 1
jmp 0x10016fe4
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffff
je 0x10017008
mov dword [ebp - 0x140], 1
jmp 0x1001700f
and dword [ebp - 0x140], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x350]
add eax, dword [ebp - 0x140]
cmp dword [ebp - 0x1b0], eax
je 0x10017036
mov dword [ebp - 0x148], 1
jmp 0x1001703d
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x148], eax
jg 0x10017054
mov dword [ebp - 0x190], 1
jmp 0x1001705b
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x3c], 0xffffffe2
jmp 0x10017077
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1f
jne 0x100171b6
mov dword [ebp - 0x30], 0x140c5034
mov dword [ebp - 0x1d0], 0x63cd51dc
cmp dword [ebp - 0x30], 0
je 0x100170aa
cmp dword [ebp - 0x30], 0
je 0x100170aa
mov dword [ebp - 0x150], 1
jmp 0x100170b1
and dword [ebp - 0x150], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x150]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
je 0x100170dc
or eax, 0xffffffff
jne 0x100170dc
and dword [ebp - 0xd0], 0
jmp 0x100170e6
mov dword [ebp - 0xd0], 1
push 0
lea ecx, [ebp - 0x254]
call fcn.1002b7f6
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [eax]
jge 0x10017109
mov dword [ebp - 0xdc], 1
jmp 0x10017110
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0xfffd
jbe 0x10017128
mov dword [ebp - 0xe4], 1
jmp 0x1001712f
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x30], eax
jne 0x10017150
cmp dword [ebp - 0x30], 0
je 0x10017150
mov dword [ebp - 0xec], 1
jmp 0x10017157
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xec]
jl 0x1001716e
mov dword [ebp - 0xf4], 1
jmp 0x10017175
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x5c], 0
jmp 0x10017191
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xfffffffa
jne 0x100171b1
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x100171af
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
jmp 0x1001718a
jmp 0x10017070
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.1002b77b
mov dword [ebp - 0x78], 0xccba
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x11c], 0xebf495e3
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x64], 0
jmp 0x1001720b
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x10017221
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x220], 0x329b3a00
jmp 0x10017204
cmp dword [ebp - 0x78], 0
je 0x1001724e
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x1001723c
cmp dword [ebp - 0x11c], 0
je 0x1001724e
cmp dword [ebp - 0x74], 0
je 0x1001724e
mov dword [ebp - 0x9c], 1
jmp 0x10017255
and dword [ebp - 0x9c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x220]
imul eax, dword [ebp - 0x9c]
cmp eax, 0xd9a2b82c
ja 0x1001727c
mov dword [ebp - 0x10c], 1
jmp 0x10017283
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0
jne 0x10017298
mov dword [ebp - 0x114], 1
jmp 0x1001729f
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x124], eax
jl 0x100172c5
mov dword [ebp - 0x12c], 1
jmp 0x100172cc
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov eax, 0x2a43
sub eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x134]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0xfffffffc
mov dword [ebp - 0x16c], 0xb06c0e26
mov dword [ebp - 0x1ec], 0x641b44ad
mov dword [ebp - 0x28], 0
jmp 0x10017321
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffe5
jg 0x1001743d
mov dword [ebp - 0x6c], 0x34b64b5c
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x1001734f
push 0
push 0x1cfb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp dword [ebp - 0x6c], 0xb101
jl 0x10017364
mov dword [ebp - 0x13c], 1
jmp 0x1001736b
and dword [ebp - 0x13c], 0
cmp dword [ebp - 0x13c], 0xffffffff
ja 0x10017380
mov dword [ebp - 0x144], 1
jmp 0x10017387
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x144]
jle 0x1001739e
mov dword [ebp - 0x14c], 1
jmp 0x100173a5
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x14c], eax
jle 0x100173d7
mov dword [ebp - 0x154], 1
jmp 0x100173de
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0
je 0x100173f3
mov dword [ebp - 0x15c], 1
jmp 0x100173fa
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x28]
jl 0x10017415
mov dword [ebp - 0x164], 1
jmp 0x1001741c
and dword [ebp - 0x164], 0
imul eax, dword [ebp - 0x164], 0xfffffff6
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1ec], eax
jmp 0x1001731a
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x98], 0xfffffffb
mov dword [ebp - 0x60], 0xfffffff8
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x34], 0xb996a530
mov dword [ebp - 0x284], 0xfffffffd
mov dword [ebp - 0x280], 0xfffffffd
mov dword [ebp - 0x27c], 0xfffffffd
mov dword [ebp - 0x278], 0xfffffffd
lea ecx, [ebp - 0x91]
call fcn.1002b805
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x338]
call fcn.1002b808
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x29c]
call fcn.1002b755
mov dword [ebp - 4], 4
mov dword [ebp - 0xa8], 0xfb49a5c1
mov dword [ebp - 0x270], 0xfffffff6
mov dword [ebp - 0x26c], 0xfffffff6
mov dword [ebp - 0x268], 0xfffffff6
mov dword [ebp - 0x264], 0xfffffff6
lea ecx, [ebp - 0x89]
call fcn.1002b805
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x340]
call fcn.1002b808
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x290]
call fcn.1002b755
mov byte [ebp - 4], 5
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x68], 0
jmp 0x1001755e
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x10017574
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x19c], 0xf5ed9a92
jmp 0x10017557
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2c4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x19c], 0x9e96bb64
jb 0x100175ab
mov dword [ebp - 0x174], 1
jmp 0x100175b2
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0x652f
jne 0x100175ca
mov dword [ebp - 0x17c], 1
jmp 0x100175d1
and dword [ebp - 0x17c], 0
mov esi, dword [ebp - 0x17c]
add esi, 0x3d7f
push 3
lea ecx, [ebp - 0x29c]
call fcn.1002b7f6
cmp esi, dword [eax]
jge 0x100175fa
mov dword [ebp - 0x204], 1
jmp 0x10017601
and dword [ebp - 0x204], 0
cmp dword [ebp - 0x90], 0
ja 0x10017613
mov dword [ebp - 0x80], 1
jmp 0x10017617
and dword [ebp - 0x80], 0
push 3
lea ecx, [ebp - 0x29c]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x80], eax
je 0x10017640
mov dword [ebp - 0x184], 1
jmp 0x10017647
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xc821
je 0x1001765f
mov dword [ebp - 0x18c], 1
jmp 0x10017666
and dword [ebp - 0x18c], 0
push 1
lea ecx, [ebp - 0x290]
call fcn.1002b7f6
mov ecx, dword [ebp - 0x18c]
cmp ecx, dword [eax]
jg 0x10017689
mov dword [ebp - 0x194], 1
jmp 0x10017690
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0x932d
jge 0x100176a8
mov dword [ebp - 0x88], 1
jmp 0x100176af
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x19c], ecx
cmp dword [ebp - 0x88], 0
jne 0x100176da
cmp dword [ebp - 0x60], 0
jne 0x100176da
and dword [ebp - 0x1a4], 0
jmp 0x100176e4
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x1a4]
cmp eax, dword [ebp - 0x60]
je 0x100176fe
mov dword [ebp - 0xa0], 1
jmp 0x10017705
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20c]
cmp eax, dword [ebp - 0x214]
jne 0x10017747
mov dword [ebp - 0xb0], 1
jmp 0x1001774e
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0xb0], eax
jl 0x10017768
mov dword [ebp - 0xb8], 1
jmp 0x1001776f
and dword [ebp - 0xb8], 0
mov esi, dword [ebp - 0xb8]
neg esi
push 1
lea ecx, [ebp - 0x290]
call fcn.1002b7f6
cmp esi, dword [eax]
jle 0x10017794
mov dword [ebp - 0xc0], 1
jmp 0x1001779b
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x98], eax
jne 0x100177be
mov dword [ebp - 0xc8], 1
jmp 0x100177c5
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x34], 0xffffffe4
jmp 0x100177e1
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x28
jge 0x100177fd
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x100177fb
push 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
jmp 0x100177da
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.1002b77b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.1002b77b
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
jmp 0x10017831
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 1
jge 0x10017851
mov eax, dword [ebp - 0x58]
push dword [eax]
mov ecx, dword [ebp - 0x224]
call fcn.1002b7f6
mov dword [eax], 2
jmp 0x10017826
jmp 0x1001786a
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1001786a
push 0x23d2
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret