Function at 0x1001526b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100850b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push esi
and dword [ebp - 0xb4], 0
push 0x1d0a
push 1
call fcn.100149fa
pop ecx
pop ecx
lea ecx, [ebp - 0x1a8]
call fcn.100182ab
and dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0xf4]
call fcn.100184ce
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0xfffffffd
mov dword [ebp - 0x180], 0xf7fd1e81
push 0
lea eax, [ebp - 0xf4]
push eax
push 0x65a4
push 0x3006
lea eax, [ebp - 0x168]
push eax
call fcn.10014add
add esp, 0x14
mov dword [ebp - 0x20], 3
jmp 0x10015302
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1001533e
push dword [ebp - 0x20]
lea ecx, [ebp - 0xf4]
call fcn.1001856c
cmp dword [eax], 0
je 0x1001531d
jmp 0x1001533e
push 1
push 0x767a
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0x61d6
call fcn.10014add
add esp, 0x14
jmp 0x100152fb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.10018550
mov eax, dword [ebp + 0xc]
shr eax, 1
push eax
lea ecx, [ebp - 0x1a8]
call fcn.10018367
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x184], 1
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1001539a
push 1
call fcn.10014b76
pop ecx
mov byte [ebp - 0x18], 0
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.10014bbe
pop ecx
pop ecx
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0xc]
jae 0x100159c3
mov dword [ebp - 0xe4], 0xfc3eee2f
mov dword [ebp - 0xe0], 8
mov dword [ebp - 0xd8], 0xe5741311
mov dword [ebp - 0xc4], 5
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10015403
push 1
push 0x2bb9
push 0x7d10
call fcn.10014c3e
add esp, 0xc
lea eax, [ebp - 0xe0]
push eax
push 0x7ffa
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xc4]
push eax
push 1
lea eax, [ebp - 0xe4]
push eax
push 0x5cbc
push 0x1f3b
call fcn.10014cb3
add esp, 0x20
mov dword [ebp - 0xcc], 0x39beb064
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 0xe8], 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x1ded6804
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10015fb1
add esp, 0x18
mov dword [ebp - 0x30], 0
jmp 0x1001549b
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffef
jg 0x10015502
mov dword [ebp - 0x34], 0
jmp 0x100154b1
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x100154c7
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x114], 0xa8d3
jmp 0x100154aa
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x114], 0
je 0x100154d9
jmp 0x10015502
mov dword [ebp - 0x24], 0
jmp 0x100154e9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10015500
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x114], 0
je 0x100154fe
jmp 0x10015500
jmp 0x100154e2
jmp 0x10015494
lea eax, [ebp - 0x48]
mov dword [ebp - 0xc0], eax
push 1
call fcn.10014eba
pop ecx
and dword [ebp - 0x3c], 0
jmp 0x10015527
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], 2
jae 0x100156d7
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x170], 0xfffffffe
push 4
lea ecx, [ebp - 0x154]
call fcn.100184ce
mov byte [ebp - 4], 2
push 1
push 0x5fd7
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x140]
push eax
push 0xe4b
call fcn.10015180
add esp, 0x14
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10015589
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebp - 0x44], 0xffffffff
jmp 0x10015599
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffff7
jge 0x10015688
mov dword [ebp - 0xdc], 0x7555b7ce
mov dword [ebp - 0xb8], 0xfffffffc
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x178], 0xc08872fa
mov dword [ebp - 0x13c], 0x289a695
mov dword [ebp - 0x174], 0xf8b8ae50
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x17c], 0x4272ba7
mov dword [ebp - 0x158], 0xfffffffc
mov dword [ebp - 0xbc], 0xfffffff6
mov dword [ebp - 0x38], 0
jmp 0x10015617
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x1001562d
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x1cc], 0xecf04b06
jmp 0x10015610
lea eax, [ebp - 0xb8]
push eax
push 0x7e5
lea eax, [ebp - 0xdc]
push eax
push 0
push 0x898
call fcn.10016a8f
add esp, 0x14
push 0x35ae
push 0x6457
push 0x761
push 0x65d7
push 0x6e3f
lea eax, [ebp - 0xbc]
push eax
push 0x19e7
push 0x1543
push 0
call fcn.10015cb1
add esp, 0x24
jmp 0x10015592
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.10018550
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x2c]
xor edx, edx
div dword [0x1008c7c0]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10008d98
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc0]
add ecx, dword [ebp - 0x3c]
mov byte [ecx], al
jmp 0x10015519
mov dword [ebp - 0x28], 0xfffffffc
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x4c], 1
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10015710
push 1
push 0x450b
call fcn.1001522a
pop ecx
pop ecx
mov dword [ebp - 0x28], 0xffffffe6
jmp 0x10015720
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc
jge 0x100159a4
push 2
lea ecx, [ebp - 0x10c]
call fcn.100184ce
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x98], 5
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], 1
lea ecx, [ebp - 0x4d]
call fcn.10008c23
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.1001857b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x164]
call fcn.1001852a
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], 0
jmp 0x100157ba
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100157d6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10c]
call fcn.1001856c
mov dword [eax], 0xfdb69689
jmp 0x100157b3
mov dword [ebp - 0x14], 0
jmp 0x100157e6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100157fc
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1b4], 0xfffffff7
jmp 0x100157df
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10015815
push 0x1755
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x1b4]
mov dword [ebp - 0x94], eax
push 1
lea ecx, [ebp - 0x10c]
call fcn.1001856c
mov ecx, dword [ebp - 0x94]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x94]
cmp dword [eax], 0xffffffff
jg 0x10015853
mov dword [ebp - 0x60], 1
jmp 0x10015857
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x4c]
test eax, eax
jne 0x10015886
mov eax, 0x7f8b
test eax, eax
jne 0x10015886
and dword [ebp - 0x90], 0
jmp 0x10015890
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0xffffffff
jg 0x100158a2
mov dword [ebp - 0x70], 1
jmp 0x100158a6
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0
jbe 0x100158b8
mov dword [ebp - 0xb0], 1
jmp 0x100158bf
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffff
jae 0x100158da
cmp dword [ebp - 0x98], 0
je 0x100158ec
cmp dword [ebp - 0x98], 0
je 0x100158ec
mov dword [ebp - 0x80], 1
jmp 0x100158f0
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 1
jb 0x10015902
mov dword [ebp - 0xa8], 1
jmp 0x10015909
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xa8], eax
jge 0x10015920
mov dword [ebp - 0x88], 1
jmp 0x10015927
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x88]
jl 0x1001593b
mov dword [ebp - 0x5c], 1
jmp 0x1001593f
and dword [ebp - 0x5c], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.1001856c
mov ecx, dword [ebp - 0x5c]
imul ecx, dword [eax]
test ecx, ecx
je 0x10015968
cmp dword [ebp - 0x4c], 0
je 0x10015968
mov dword [ebp - 0xc8], 1
jmp 0x1001596f
and dword [ebp - 0xc8], 0
mov esi, dword [ebp - 0x4c]
push 1
lea ecx, [ebp - 0x164]
call fcn.1001856c
mov dword [eax], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call fcn.10018550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.10018550
jmp 0x10015719
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 0x638a
push 0
call fcn.10015bcf
add esp, 0x10
jmp 0x100153af
mov dword [ebp - 0x10], 0xceafd94f
mov dword [ebp - 0x9c], 0xf6dd8d13
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x138], 0x9820b275
mov dword [ebp - 0x134], 0x9820b275
mov dword [ebp - 0x130], 0x9820b275
mov dword [ebp - 0x12c], 0x9820b275
mov dword [ebp - 0x40], 0
jmp 0x10015a1a
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10015a30
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x100], 3
jmp 0x10015a13
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x10015a4b
cmp dword [ebp - 0x10], 0
je 0x10015a4b
mov dword [ebp - 0x64], 1
jmp 0x10015a4f
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x64]
cmp eax, 0xfffffffe
jne 0x10015a66
mov dword [ebp - 0xd0], 1
jmp 0x10015a6d
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x10], 0xfffffffe
jne 0x10015a85
mov dword [ebp - 0x6c], 1
jmp 0x10015a89
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 1
je 0x10015a9b
cmp dword [ebp - 0x10], 0
jne 0x10015a9b
and dword [ebp - 0x74], 0
jmp 0x10015aa2
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x7c], eax
jle 0x10015ac8
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x100], 0
jne 0x10015ac8
and dword [ebp - 0x84], 0
jmp 0x10015ad2
mov dword [ebp - 0x84], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
cmp dword [ebp - 0x84], eax
jle 0x10015af2
mov dword [ebp - 0x8c], 1
jmp 0x10015af9
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x100]
imul eax, dword [ebp - 0x8c]
test eax, eax
jne 0x10015b1c
cmp dword [ebp - 0x54], 0
jne 0x10015b1c
and dword [ebp - 0x58], 0
jmp 0x10015b23
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x10]
cmp dword [ebp - 0x9c], eax
je 0x10015b46
mov dword [ebp - 0xa4], 1
jmp 0x10015b4d
and dword [ebp - 0xa4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x100]
add eax, dword [ebp - 0xa4]
je 0x10015b76
mov eax, 0xcec5
test eax, eax
je 0x10015b76
mov dword [ebp - 0xac], 1
jmp 0x10015b7d
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x100], ecx
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp + 8]
call fcn.100182be
mov eax, dword [ebp - 0xb4]
or eax, 1
mov dword [ebp - 0xb4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.10018308
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret