Function at 0x10019950
Capabilities:
Copy file
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x1005051b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd54
mov eax, dword [0x100778dc]
push 1
push str.1zoHHNCmda__d5TIaWnFqOf4Fy49_
mov dword [esp + 0xd58], eax
call fcn.100254b0
add esp, 4
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
call fcn.100264f0
lea ecx, [esp + 0xc]
call fcn.10026790
mov al, byte [esp + 0xd64]
test al, al
je 0x100199be
push 1
call fcn.1001c7f0
add esp, 4
test al, al
jne 0x100199be
mov byte [esp + 0xd64], al
mov al, byte [esp + 0xd6c]
test al, al
jne 0x100199d5
push 0
push 0
call fcn.100198c0
add esp, 8
push 0
push 0
lea eax, [esp + 0x64c]
push 0x104
push eax
call fcn.100172f0
mov eax, dword [0x1007a44c]
add esp, 0x10
test eax, eax
push 0x104
je 0x10019a0d
push eax
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x10019a5c
lea edx, [esp + 0xb4]
push edx
push str.TempInstallDir
call fcn.1001d930
add esp, 0xc
test al, al
jne 0x10019a5c
push 0
push 1
lea eax, [esp + 0xb8]
push 0x104
push eax
call fcn.100172f0
add esp, 0x10
test al, al
je 0x10019a5c
push 0x5c
push 0
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
test eax, eax
je 0x10019a5c
mov byte [eax], 0
push esi
push str.7iAAMcLl_6ipGu
call fcn.100254b0
add esp, 4
push eax
lea edx, [esp + 0xb8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x650]
push ecx
call esi
test eax, eax
jne 0x10019aa1
mov eax, 3
jmp 0x10019f0a
push ebx
lea edx, [esp + 0xb8]
push 1
push edx
call fcn.1001ed60
lea eax, [esp + 0xc0]
push eax
push str.DllPath
call fcn.1001d9e0
push 0x10053
push str.Version
call fcn.1001db30
mov eax, dword [esp + 0xd94]
mov ecx, dword [eax + 0x14]
add esp, 0x18
test ecx, ecx
mov ebx, 0x10
jne 0x10019b0c
lea ecx, [esp + 0x1fc]
push ecx
call fcn.10027010
lea edx, [esp + 0x200]
push edx
push 0x100536f0
call fcn.1001d9e0
add esp, 0xc
jmp 0x10019b27
cmp dword [eax + 0x18], ebx
jb 0x10019b16
mov eax, dword [eax + 4]
jmp 0x10019b19
add eax, 4
push eax
push 0x100536f0
call fcn.1001d9e0
add esp, 8
push 0
push 1
lea eax, [esp + 0x244]
push 0x104
push eax
call fcn.100173c0
add esp, 0x10
test al, al
jne 0x10019b4e
mov eax, 4
jmp 0x10019f09
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea ecx, [esp + 0x85c]
push ecx
push 0
call ebp
push 0
lea edx, [esp + 0x244]
push edx
lea eax, [esp + 0x860]
push eax
call esi
test eax, eax
jne 0x10019b8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 4
jmp 0x10019f08
push edi
lea ecx, [esp + 0x44c]
push 0x104
push ecx
call fcn.10017480
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 8
lea edx, [esp + 0x44c]
push edx
lea eax, [esp + 0x554]
push eax
call esi
lea ecx, [esp + 0x550]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0x44c]
push 1
push edx
call fcn.1001ed60
lea eax, [esp + 0x558]
push 1
push eax
call fcn.1001ed60
mov eax, dword [esp + 0xd90]
mov ecx, dword [eax + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
test ecx, ecx
je 0x10019c34
cmp dword [eax + 0x18], ebx
jb 0x10019c1c
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x40
push eax
lea ecx, [esp + 0x88]
push ecx
call ebx
jmp 0x10019c72
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x40
add eax, 4
push eax
lea ecx, [esp + 0x88]
push ecx
call ebx
jmp 0x10019c72
mov al, byte [esp + 0xd78]
test al, al
je 0x10019c46
push str.zkAgEaKIBu
jmp 0x10019c4b
push str.zkAgEaLH
call fcn.100254b0
add esp, 4
push 0x53
push 1
push eax
push str._s_d_02d
lea edx, [esp + 0x90]
push 0x40
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
add esp, 0x18
lea eax, [esp + 0x80]
push eax
push str.Partner
call fcn.1001d9e0
add esp, 8
push 0x104
lea ecx, [esp + 0x34c]
push ecx
push 0
call ebp
test eax, eax
je 0x10019cde
lea edx, [esp + 0x348]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
push 0x5c
push 0
lea eax, [esp + 0x350]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
test eax, eax
push 0x40
jne 0x10019cd3
lea ecx, [esp + 0x34c]
push ecx
lea edx, [esp + 0x48]
push edx
call ebx
jmp 0x10019cea
inc eax
push eax
lea eax, [esp + 0x48]
push eax
call ebx
jmp 0x10019cea
push str.nameable
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x40]
push edx
push 0x10054404
call fcn.1001d9e0
mov bl, byte [esp + 0xd84]
add esp, 8
test bl, bl
jne 0x10019d16
push 1
push str.Initial
call fcn.1001db30
add esp, 8
call fcn.10026ca0
test al, al
je 0x10019d4d
push 0x10054908
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x454]
push ecx
push str.__s____s___s
lea edx, [esp + 0x970]
push 0x400
push edx
call edi
add esp, 0x18
jmp 0x10019db2
push 0x104
lea eax, [esp + 0x75c]
push eax
lea ecx, [esp + 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x10019e9e
push 1
push 1
lea edx, [esp + 0x24c]
push 0x104
push edx
call fcn.100173c0
push 0x10054908
lea eax, [esp + 0x76c]
push eax
lea ecx, [esp + 0x25c]
push ecx
push str._s__s__s
lea edx, [esp + 0x980]
push 0x400
push edx
call edi
add esp, 0x28
push 0
push str.ShowToolbarButton
call fcn.1001db30
push 0
push str.ShowBarSign
call fcn.1001db30
add esp, 0x10
call fcn.10002b90
xor esi, esi
test bl, bl
mov dword [esp + 0x18], 0x100539ea
je 0x10019e45
push 0x20
lea eax, [esp + 0x24]
push eax
push str.zkAgEaKUVNKCdJ70UV6
call fcn.100254b0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x10019e38
lea ecx, [esp + 0x20]
push ecx
push str.zkAgEaKUVNKCdJ70UV6
call fcn.100254b0
add esp, 4
push eax
push 0x10053634
lea edx, [esp + 0x1d0]
push 0x40
push edx
call edi
lea eax, [esp + 0x1d8]
add esp, 0x14
mov dword [esp + 0x18], eax
mov esi, 1
jmp 0x10019e45
push str.zkAgEaKUVNKCdJ70UV6
call fcn.100254b0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.10025c90
lea ecx, [esp + 0x960]
push ecx
push str.0SUJKdGqJ6OnP67aafC2N62qsle7hnnDgmWh_EABO0X2OOH1
mov dword [esp + 0xd74], 0
call fcn.100254b0
add esp, 4
push eax
push str.ziAAMcK__qOzOGadRfm8M6eh9v2
call fcn.100254b0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.10025ff0
test al, al
jne 0x10019ea5
lea ecx, [esp + 0x10]
mov dword [esp + 0xd6c], 0xffffffff
call fcn.10025f90
mov eax, 5
jmp 0x10019f07
mov al, byte [esp + 0xd74]
test al, al
je 0x10019eec
lea edx, [esp + 0x18]
push edx
push esi
push str.ziAAMcK__qOzOGadRfm8M6eh9v2
call fcn.100254b0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.10025d10
test al, al
jne 0x10019eec
lea ecx, [esp + 0x10]
mov dword [esp + 0xd6c], 0xffffffff
call fcn.10025f90
mov eax, 6
jmp 0x10019f07
call fcn.10018c60
lea ecx, [esp + 0x10]
mov dword [esp + 0xd6c], 0xffffffff
call fcn.10025f90
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd58]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd54]
pop esi
call fcn.1004189e
add esp, 0xd60
ret