Function at 0x10016619
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071abe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100168d4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100167e3
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1001679a
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.100193bb
cmp dword [eax], 0
jne 0x10016783
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.100193bb
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x10016732
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
jne 0x10016732
and dword [ebp - 0x44], 0
jmp 0x10016739
mov dword [ebp - 0x44], 1
cmp dword [ebp - 0x44], 0x64548797
jle 0x1001674b
mov dword [ebp - 0x30], 1
jmp 0x1001674f
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x10016783
and dword [ebp - 0x4c], 0
jmp 0x1001678a
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jge 0x1001679a
and dword [ebp - 0x38], 0
jmp 0x100167a1
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
je 0x100167b4
mov dword [ebp - 0x40], 1
jmp 0x100167b8
and dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.100193bb
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jne 0x100167d2
mov dword [ebp - 0x48], 1
jmp 0x100167d6
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x100168d2
mov dword [ebp - 0x50], 0x7e9b
mov dword [ebp - 0x78], 0x1000b798
cmp dword [ebp - 0x50], 0x814b
jle 0x10016888
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 0x28], 0
jmp 0x10016815
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3231
jge 0x1001687c
and dword [ebp - 0x24], 0
jmp 0x1001682b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4d4d
jge 0x1001687a
and dword [ebp - 0x20], 0
jmp 0x10016841
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1d3b
jge 0x10016878
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
mov ecx, 0x1061a898
call fcn.10019034
jmp 0x1001683a
jmp 0x10016824
jmp 0x1001680e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0x7dba
jge 0x100168ac
mov edx, dword [ebp - 0x78]
mov ecx, 0x1061a898
call fcn.1001bd42
jmp 0x100168c8
or dword [ebp - 4], 0xffffffff
jmp 0x100168d2
jmp 0x1001691f
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x100168fa
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x100168f8
push 0
call dword [sym.imp.USER32.dll_CreateIconIndirect]
jmp 0x1001691f
mov byte [ebp - 0x11], 0
push 0x32fe
lea eax, [ebp - 0x11]
push eax
push 0x4cc9
push 1
push 0
push 1
push 0x489a
call fcn.1001248d
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret