Function at 0x437ac0
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443537
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc8
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc4], ecx
cmp dword [ebp + 0xc], 0
jne 0x437b03
jmp 0x437de2
mov eax, dword [ebp - 0xc4]
add eax, 4
push eax
lea ecx, [ebp - 0x40]
call fcn.0043dec0
mov dword [ebp - 4], 0
push 0x44d520
lea ecx, [ebp - 0x3c]
call fcn.00407960
lea ecx, [ebp - 0x3c]
call fcn.00403bd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437b63
lea ecx, [ebp - 0x3c]
call fcn.00403bd0
push eax
call fcn.00419f8d
add esp, 4
test eax, eax
je 0x437b63
mov ecx, dword [ebp - 0xc4]
add ecx, 4
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043de60
lea edx, [ebp - 0x90]
push edx
call fcn.00402a50
push 0
push 0
push 0
push 0xf
lea ecx, [ebp - 0xac]
call fcn.00408620
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x90]
call fcn.004086c0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0xb0], esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043dec0
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00437850
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0xc4]
call fcn.00437330
movzx eax, al
test eax, eax
je 0x437bf8
lea ecx, [ebp - 0x60]
call fcn.00403bd0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00402a50
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0xbc], esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.0043dec0
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xc4]
call fcn.00437850
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00437330
movzx edx, al
test edx, edx
je 0x437db8
push 1
lea ecx, [ebp - 0x84]
call fcn.00403bd0
push eax
push str.unicodeLog.dat
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0xc4]
cmp dword [eax], 0
je 0x437db8
push 0x1388
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x437db8
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 3
push str.at_ccsUNICODE
lea ecx, [ebp - 0x84]
call fcn.00403bd0
push eax
call fcn.0041a085
add esp, 8
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x437d6c
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push str._Y__m__d__H:_M:_S
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x90]
call fcn.00402960
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
movzx eax, word [ebp - 0x96]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.00401ca0
push eax
push str.__s:_03u_Thread_ID_d__s_n
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0041a09c
add esp, 0x18
lea ecx, [ebp - 0xc0]
call fcn.00402cd0
mov edx, dword [ebp - 0x94]
push edx
call fcn.0041a2ba
add esp, 4
mov eax, dword [ebp - 0x94]
push eax
call fcn.0041a38d
add esp, 4
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x437db1
mov dword [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0043db70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043db70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret 0xc