Function at 0x403340
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4539d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str._LOCAL_APPDATA_
lea ecx, [esp + 0x18]
call fcn.0040a430
mov dword [esp + 0x30], 0
call fcn.0041ea69
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x14]
call fcn.0040a430
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004162d0
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov edi, dword [0x46d9e8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4033c8
push esi
lea ecx, [esp + 0x14]
call fcn.0040a5c0
mov edx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push edx
call fcn.0043b6d7
push eax
call fcn.0040ac40
add esp, 0xc
test esi, esi
jl 0x40364e
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40364e
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
setne al
mov byte [esi + ecx], 0
test eax, eax
jne 0x403410
push 0x80004005
call fcn.0040ad10
mov edx, dword [esp + 0x10]
push edi
push edx
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x4035ea
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403440
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x30], 2
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40346f
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], 3
mov ecx, dword [0x46da00]
mov edx, dword [0x46d9e4]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x45a9c8
push eax
call fcn.0040a6f0
mov ecx, dword [0x46da08]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x30]
push 0x45a9c8
push eax
call fcn.0040a6f0
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
add esp, 0x20
push 0
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x46da8c], 0
push ecx
mov ecx, esp
je 0x403502
mov dword [esp + 0x24], esp
push str._delete__hide
call fcn.0040a430
push ecx
mov byte [esp + 0x38], 4
mov dword [esp + 0x2c], esp
jmp 0x40351a
mov dword [esp + 0x28], esp
push str._delete
call fcn.0040a430
push ecx
mov byte [esp + 0x38], 5
mov dword [esp + 0x28], esp
add esi, 0xfffffff0
mov edi, esp
push esi
call fcn.00409fe0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x38], 3
call fcn.00418380
mov ecx, dword [esp + 0x40]
add esp, 8
push ecx
call fcn.00406ac0
mov byte [esp + 0x30], 2
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x403562
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 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 0x4035d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 4
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40360f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 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 0x403637
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 4
push 0x80070057
call fcn.0040ad10
int3