Function at 0x42cfe0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5a2d65
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x520], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x538]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
test byte [0x61e714], 1
jne 0x42d062
or dword [0x61e714], 1
push 0x5e8ee8
mov ecx, 0x61e710
mov dword [esp + 0x544], 0
call fcn.0040e080
push 0x5b9b80
call fcn.004e757b
add esp, 4
or edi, 0xffffffff
mov dword [esp + 0x540], edi
jmp 0x42d065
or edi, 0xffffffff
test byte [0x61e714], 2
jne 0x42d0a3
or dword [0x61e714], 2
push 0x5e8ee8
mov ecx, 0x61e70c
mov dword [esp + 0x544], 1
call fcn.0040e080
push 0x5b9b50
call fcn.004e757b
add esp, 4
mov dword [esp + 0x540], edi
test byte [0x61e714], 4
jne 0x42d0e1
or dword [0x61e714], 4
push 0x5e8ee8
mov ecx, 0x61e708
mov dword [esp + 0x544], 2
call fcn.0040e080
push 0x5b9b20
call fcn.004e757b
add esp, 4
mov dword [esp + 0x540], edi
push 0x5e8ee8
push 0x61e70c
call fcn.0041c9b0
add esp, 8
test al, al
je 0x42d19a
push 0x5e8ee8
push 0x61e710
call fcn.0041c9b0
add esp, 8
test al, al
je 0x42d19a
push 0x5e8ee8
push 0x61e708
call fcn.0041c9b0
add esp, 8
test al, al
je 0x42d19a
push 0x61e70c
call fcn.00478f90
push 0x61e708
call fcn.00478d50
add esp, 8
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.00473700
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x61e70c]
push edx
push eax
push ecx
push 0x5c022c
push 0x61e710
call fcn.0040cbe0
add esp, 0x28
test byte [0x61e714], 8
jne 0x42d215
or dword [0x61e714], 8
lea edx, [esp + 0x14]
mov ebx, 3
push edx
mov dword [esp + 0x544], ebx
call fcn.00423760
push str.360SD_
push eax
push 0x61e704
mov byte [esp + 0x550], 4
call fcn.0040d150
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x540], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5b9af0
call fcn.004e757b
add esp, 4
mov dword [esp + 0x540], edi
test byte [0x61e714], 0x10
jne 0x42d258
or dword [0x61e714], 0x10
push 0x5bd444
push 0x61e704
push 0x61e700
mov dword [esp + 0x54c], 5
call fcn.0040d150
push 0x5b9ac0
call fcn.004e757b
add esp, 0x10
mov dword [esp + 0x540], edi
mov eax, 0x20
test byte [0x61e714], al
jne 0x42d2e0
or dword [0x61e714], eax
push 0x61e710
lea ecx, [esp + 0x18]
push 0x61e704
mov ebx, 6
push ecx
mov dword [esp + 0x54c], ebx
call fcn.0040d090
push 0x5c0210
push eax
push 0x61e6fc
mov byte [esp + 0x558], 7
call fcn.0040d150
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x540], bl
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d2cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5b9a90
call fcn.004e757b
add esp, 4
mov dword [esp + 0x540], edi
mov eax, 0x40
test byte [0x61e714], al
jne 0x42d326
or dword [0x61e714], eax
push str.SDSkin_
push 0x61e704
push 0x61e6f8
mov dword [esp + 0x54c], 8
call fcn.0040d150
push 0x5b9a60
call fcn.004e757b
add esp, 0x10
mov dword [esp + 0x540], edi
mov eax, 0x80
test byte [0x61e714], al
jne 0x42d36c
or dword [0x61e714], eax
push str.DataDriv.dat
push 0x61e704
push 0x61e6f4
mov dword [esp + 0x54c], 9
call fcn.0040d150
push 0x5b9a30
call fcn.004e757b
add esp, 0x10
mov dword [esp + 0x540], edi
mov ecx, dword [0x61e704]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42d390
mov edx, dword [0x61e704]
push 0
push edx
call ebx
cmp dword [esp + 0x548], 0
je 0x42d3d2
mov eax, dword [0x61e704]
push eax
call fcn.004795e0
add esp, 4
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x520]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x530
ret 4
mov ecx, dword [0x61e704]
push ecx
call ebp
test eax, eax
jne 0x42d3e9
mov edx, dword [0x61e704]
push eax
push edx
call ebx
lea eax, [esp + 0x24]
push eax
call fcn.0040e920
mov ecx, dword [0x61e6f4]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 4
push 0
push ecx
push eax
call esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d429
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.0040e2c0
push 0x5c01e8
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x554], 0xa
call fcn.0040d150
mov ecx, dword [0x61e700]
mov eax, dword [eax]
add esp, 0x14
push 0
push ecx
push eax
call esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d480
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x540], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42d4a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x61e6f8]
push ecx
call ebp
test eax, eax
jne 0x42d4bb
mov edx, dword [0x61e6f8]
push eax
push edx
call ebx
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42d4d5
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x540], 0xb
call fcn.004a581f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42d50a
push 0x80004005
call fcn.0040b390
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x548], 0xc
call fcn.00459f20
mov ecx, dword [0x61e710]
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edi, dword [0x61e6f4]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
add esp, 8
or eax, edx
jge 0x42d565
push esi
mov ecx, 0x61e710
call fcn.0040c000
mov ecx, dword [0x61e710]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push ecx
push 0x5c01e0
push str.uploadlogfile
call esi
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov ebp, dword [0x61e6f4]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, edi
or eax, edx
jge 0x42d5a5
push edi
lea ecx, [esp + 0x20]
call fcn.0040c000
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
push 0x5bf50c
push str.uploadlogfile
call esi
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov ebp, dword [0x61e6f4]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, edi
or eax, edx
jge 0x42d5df
push edi
lea ecx, [esp + 0x1c]
call fcn.0040c000
mov ecx, dword [esp + 0x18]
push ebp
push ecx
push 0x5bf4e8
push str.uploadlogfile
call esi
mov ecx, dword [0x61e70c]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov ebp, dword [0x61e6f4]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, edi
or eax, edx
jge 0x42d61e
push edi
mov ecx, 0x61e70c
call fcn.0040c000
mov ecx, dword [0x61e70c]
push ebp
push ecx
push 0x5bf4e0
push str.uploadlogfile
call esi
mov edx, dword [0x61e708]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ebp, dword [0x61e6f4]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x42d65d
push edi
mov ecx, 0x61e708
call fcn.0040c000
mov edx, dword [0x61e708]
push ebp
push edx
push 0x5bf4d8
push str.uploadlogfile
call esi
lea eax, [esp + 0x20]
push eax
call fcn.004297c0
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
mov byte [esp + 0x540], 0xd
test eax, eax
jl 0x42d844
cmp eax, ecx
jg 0x42d844
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x42d6b2
push 0x5bda1c
lea ecx, [esp + 0x24]
call fcn.00414a10
push 1
push 0
push 0
lea ecx, [esp + 0x50]
call fcn.004129a0
cmp dword [esp + 0x1a4], 0
mov byte [esp + 0x540], 0xe
je 0x42d7af
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.0040c050
mov ecx, dword [esp + 0x38]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00424ac0
test al, al
je 0x42d7af
mov edx, dword [0x61e6fc]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x42d72f
push esi
mov ecx, 0x61e6fc
call fcn.0040c000
mov edx, dword [0x61e6fc]
push 2
push 0
push edx
call fcn.00470e90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42d7af
push esi
call fcn.00470430
add esp, 4
test al, al
je 0x42d7af
push str.ProcessHistoryLog_PopWndTrackerLog_
lea ecx, [esp + 0x18]
call fcn.0040e080
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
mov bl, 0xf
push edx
mov byte [esp + 0x548], bl
call fcn.0040c4e0
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x54c], 0x10
call fcn.0040c4e0
push esi
mov byte [esp + 0x54c], bl
call fcn.00424d30
push esi
call fcn.004721a0
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.0040c150
lea ecx, [esp + 0x44]
mov byte [esp + 0x540], 0xd
call fcn.0040c1f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x540], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d7e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x540], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x540], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d3a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42d3a8
push 0x80070057
call fcn.0040b390
int3