Function at 0x100687c0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014a5ae
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4bc], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.1011a400
lea edi, [ebx + 0xb4]
add esp, 0xc
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x10068837
mov eax, dword [edi]
jmp 0x10068839
mov eax, edi
xor ecx, ecx
mov dword [ebp - 0x264], 0xf
push ecx
mov word [eax], cx
mov dword [ebp - 0x268], ecx
mov byte [ebp - 0x278], cl
lea ecx, [ebp - 0x278]
push 0x10178415
call fcn.10002130
lea ecx, [ebx + 0x100]
mov dword [ebp - 4], 0
call fcn.10003ab0
push dword [ebx + 0x13c]
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
lea ecx, [ebx + 0x100]
push eax
call fcn.10005700
cmp dword [ebp - 0x264], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x100688c1
push dword [ebp - 0x278]
call fcn.1011a1ea
add esp, 4
call fcn.10038a00
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100688dd
push 0x80004005
call fcn.1003dd50
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4a8], eax
push 0x20
xor eax, eax
mov dword [ebp - 4], 1
push str.4F7A927FACA74c42B3A3DAD29B1DDB9C
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
call fcn.1000c2b0
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4ac], 0
call fcn.10073630
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x4a8]
push str.np_Xlog
push eax
call fcn.10068660
mov esi, dword [ebp - 0x4a8]
lea eax, [ebp - 0x218]
add esp, 0xc
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x4b8]
push ecx
lea eax, [ebp - 0x260]
mov ecx, ebx
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1006d580
test al, al
jne 0x10068a16
xor bl, bl
jmp 0x10068d8b
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x430]
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10048c20
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
cmp byte [edx], 0
mov byte [ebp - 4], 5
jne 0x10068a64
xor ecx, ecx
jmp 0x10068a7d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x4a4], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10068a70
sub ecx, dword [ebp - 0x4a4]
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.10002130
mov eax, dword [ebp - 0x430]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 7
cmp eax, ecx
je 0x10068aa7
push eax
call fcn.1011bc41
add esp, 4
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x49c]
call fcn.100740b0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x49c]
call fcn.10073960
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x4a4], eax
cmp ecx, eax
je 0x10068b1f
cmp dword [ebp - 0x21c], 0x10
jb 0x10068af8
push dword [ebp - 0x230]
call fcn.1011a1ea
mov eax, dword [ebp - 0x4a4]
add esp, 4
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.10001d80
cmp dword [ebp - 0x264], 0x10
jb 0x10068b36
push dword [ebp - 0x278]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x220], 0
jne 0x10068b53
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
jmp 0x10068d59
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x328]
cmovae eax, dword [ebp - 0x260]
push 3
mov dword [ebp - 0x32c], ecx
lea ecx, [ebp - 0x32c]
push eax
call fcn.10048c20
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x290]
push ecx
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
push dword [ebp - 0x32c]
call fcn.1006a720
mov eax, dword [ebp - 0x32c]
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 7
cmp eax, ecx
je 0x10068bcb
push eax
call fcn.1011bc41
add esp, 4
cmp dword [ebp - 0x27c], 0x10
lea eax, [ebp - 0x290]
push dword [ebp - 0x4bc]
cmovae eax, dword [ebp - 0x290]
mov ecx, ebx
push eax
call fcn.1006afe0
cmp dword [ebx + 0xc4], 0
sete al
mov byte [ebp - 0x49d], al
test al, al
jne 0x10068d46
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov ecx, dword [ebx + 0x258]
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 9
call fcn.100709b0
lea ecx, [ebp - 0x248]
test al, al
je 0x10068d41
push 0xffffffffffffffff
push 0
push edi
call fcn.1000bea0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10068d3b
lea ecx, [ebx + 0xcc]
lea eax, [ebp - 0x248]
cmp ecx, eax
je 0x10068c96
push 0xffffffffffffffff
push 0
push eax
call fcn.1000bf70
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x3a8]
cmovae eax, dword [ebp - 0x230]
push 3
mov dword [ebp - 0x3ac], ecx
lea ecx, [ebp - 0x3ac]
push eax
call fcn.10069910
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x10068cd2
mov ecx, dword [edi]
jmp 0x10068cd4
mov ecx, edi
push dword [ebp - 0x4ac]
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x4b8]
push edx
push ecx
push dword [ebp - 0x3ac]
mov ecx, dword [ebx + 0x258]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.100703c0
mov eax, dword [ebp - 0x3ac]
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x10068d25
push eax
call fcn.1011bc41
add esp, 4
mov eax, dword [ebp - 0x4b0]
cmp eax, edi
je 0x10068d3b
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.1000bf70
lea ecx, [ebp - 0x248]
call fcn.1000baf0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, byte [ebp - 0x49d]
cmp dword [ebp - 0x294], 0x10
jb 0x10068d70
push dword [ebp - 0x2a8]
call fcn.1011a1ea
add esp, 4
mov dword [ebp - 0x294], 0xf
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
cmp dword [ebp - 0x27c], 0x10
jb 0x10068da2
push dword [ebp - 0x290]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x21c], 0x10
mov dword [ebp - 0x27c], 0xf
mov dword [ebp - 0x280], 0
mov byte [ebp - 0x290], 0
jb 0x10068dd4
push dword [ebp - 0x230]
call fcn.1011a1ea
add esp, 4
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jb 0x10068e06
push dword [ebp - 0x260]
call fcn.1011a1ea
add esp, 4
add esi, 0xfffffff0
mov dword [ebp - 0x24c], 7
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10068e44
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 0xc