Function at 0x10001920
Capabilities:
Copy file
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1001c307
mov eax, dword fs:[0]
push eax
mov eax, 0x4c48
call fcn.10018f80
mov eax, dword [0x1005d1b0]
xor eax, esp
mov dword [esp + 0x4c44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005d1b0]
xor eax, esp
push eax
lea eax, [esp + 0x4c5c]
mov dword fs:[0], eax
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x84e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x854], ax
call fcn.1000e5f0
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0xc
push 0x104
lea edx, [esp + 0x84c]
push edx
push 0x10000000
call ebp
test eax, eax
je 0x10001d03
lea edi, [esp + 0x18]
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.10004b20
push 0x208
lea eax, [esp + 0x644]
push ebx
push eax
call fcn.1000e5f0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x644]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x208
lea edx, [esp + 0x2c]
push ebx
push edx
call fcn.1000e5f0
add esp, 0xc
cmp dword [esp + 0x14], 6
lea ebx, [esp + 0x28]
jb 0x10001a0f
movzx eax, word [esp + 0x640]
push eax
push str._C:UsersDefaultAppDataLocalTemp
jmp 0x10001a1d
movzx ecx, word [esp + 0x640]
push ecx
push str._C:Documents_and_SettingsDefault_UserLocal_SettingsTemp
mov ecx, 0x104
call fcn.10002c90
add esp, 8
lea edx, [esp + 0x28]
push edx
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x208
lea eax, [esp + 0x234]
push ebx
push eax
call fcn.1000e5f0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x234]
push ecx
push 0x10000000
call ebp
lea edx, [esp + 0x230]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360OptExt.ini
lea eax, [esp + 0x234]
push eax
call ebp
push 0x4000
lea ecx, [esp + 0xc5c]
push ebx
push ecx
call fcn.1000e5f0
add esp, 0xc
lea edx, [esp + 0x230]
push edx
push 0x2000
lea eax, [esp + 0xc60]
push eax
push 0x1005941c
push str.items
push str.360CsVc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x10001d03
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x10059670
call fcn.10002be0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xc5c]
mov dword [esp + 0x4c68], ebx
call fcn.10002be0
push 0x1005f6f0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x4c70], 1
call fcn.10005c00
mov byte [esp + 0x4c70], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001b3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c64], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001b65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x1005f700]
sub esi, dword [0x1005f6fc]
sar esi, 2
cmp esi, ebx
jbe 0x10001d03
push 0x206
lea edx, [esp + 0x43e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x444], cx
call fcn.1000e5f0
push 0x206
lea ecx, [esp + 0xa62]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xa68], ax
call fcn.1000e5f0
lea edi, [esi - 1]
add esp, 0x18
cmp edi, esi
jb 0x10001bc5
call fcn.1000d7e0
mov edx, dword [0x1005f6fc]
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x438]
call fcn.100026c0
lea eax, [esp + 0x438]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001be4
sub eax, edx
push 0x104
lea ecx, [esp + 0xa54]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x444]
push edx
call fcn.10004930
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xa54]
call fcn.10002be0
lea ecx, [esp + 0x24]
push ecx
mov ecx, str..dll
mov dword [esp + 0x4c68], 2
call fcn.10002be0
push eax
lea edx, [esp + 0x1c]
push edx
lea ebx, [esp + 0x1c]
mov byte [esp + 0x4c6c], 3
call fcn.10001d50
add esp, 8
mov byte [esp + 0x4c64], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call ebp
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x850]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10001cb0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.10003700
mov byte [esp + 0x4c64], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001cd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c64], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001d03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x4c5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c44]
xor ecx, esp
call fcn.1000d1bf
add esp, 0x4c54
ret