Function at 0x4fecb0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b126
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.00437ed0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
call fcn.00439100
mov byte [ebp - 4], 2
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x88], esp
call fcn.004d0e50
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x14]
call fcn.0046af70
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041ae70
push eax
mov byte [ebp - 4], 2
call fcn.004380f0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x4ff05b
lea ecx, [ebp - 0x18]
call fcn.00407030
mov byte [ebp - 4], 4
push 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x20]
call fcn.00500bd0
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x2c
call fcn.0041ae70
push eax
call fcn.00439280
movzx eax, al
test eax, eax
je 0x4feef5
lea ecx, [ebp - 0x1c]
call fcn.00407030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00407030
mov byte [ebp - 4], 6
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00408130
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408770
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004baad0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x10]
call fcn.00437d00
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00407570
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.004071f0
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.004baad0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x4fee5d
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004082d0
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00407570
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.004071f0
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x5c]
test ecx, ecx
je 0x4fee83
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str._s_Tracking_ServerDump2__d.txt
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00407ff0
add esp, 0x10
jmp 0x4fee9c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str._s_ServerDump2__d.txt
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00407ff0
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.0046af70
push eax
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00408770
push 0
lea ecx, [ebp - 0x18]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x14]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.004071f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004071f0
mov ecx, dword [ebp - 0x38]
add ecx, 0x2c
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x14]
call fcn.0046af70
push eax
call fcn.004e33a0
lea ecx, [ebp - 0x14]
call fcn.0046af70
push eax
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00469050
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x68]
push edx
lea ecx, [ebp - 0x30]
call fcn.0044ec10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.00407400
lea ecx, [ebp - 0x30]
call fcn.00437fa0
cmp eax, 4
jne 0x4fefda
lea ecx, [ebp - 0x28]
call fcn.00407030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call fcn.0046af70
push eax
push str.Failed_to_load_XML_file:__s
lea eax, [ebp - 0x28]
push eax
call fcn.00407ff0
add esp, 0xc
push 0
lea ecx, [ebp - 0x28]
call fcn.0046af70
push eax
call fcn.0043c480
add esp, 8
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00437ed0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x30]
call fcn.0044ec10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x84]
call fcn.00407400
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004071f0
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
mov edx, dword [ebp + 0x18]
push edx
call fcn.0040c560
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
call fcn.00500440
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
mov edx, dword [ebp + 0x18]
push edx
call fcn.0040c560
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
call fcn.00500740
lea ecx, [ebp - 0x14]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004071f0
jmp 0x4ff08a
mov dword [ebp - 0x48], 2
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00437ed0
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x30]
call fcn.0044ec10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00407400
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.0046a070
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00407400
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14