Function at 0x4068a0
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454ace
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x474298]
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 edx, dword [ebp + 0xc]
mov ecx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], eax
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xfc], edx
jb 0x406903
mov ecx, dword [edx]
mov dword [ebp - 0xfc], ecx
cmp eax, 0xb
jb 0x406997
add eax, 0xfffffff6
lea eax, [ecx + eax*2]
mov dword [ebp - 0x100], eax
jmp 0x406920
mov edx, eax
mov esi, 0
sub edx, ecx
sar edx, 1
je 0x406944
cmp word [ecx], 0x2d
je 0x406942
cmp edx, 1
je 0x406944
add ecx, 2
dec edx
cmp word [ecx], 0x2d
jne 0x406933
mov esi, ecx
mov ecx, esi
test ecx, ecx
je 0x406997
movzx edx, word [ecx]
mov edi, 0x2d
mov esi, 0xb
mov eax, str._updatehigh
cmp edx, edi
jb 0x40697f
mov ebx, ecx
sub ebx, eax
cmp dx, di
ja 0x40697f
cmp esi, 1
je 0x40698a
movzx edx, word [eax + ebx + 2]
add eax, 2
dec esi
movzx edi, word [eax]
cmp dx, di
jae 0x406967
mov eax, dword [ebp - 0x100]
add ecx, 2
jmp 0x406920
sub ecx, dword [ebp - 0xfc]
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x4069c9
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.00417d60
mov ebx, 1
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0xf0], ebx
call fcn.00405a90
add esp, 0xc
test al, al
jne 0x4069cf
mov byte [ebp - 0xe9], bl
jmp 0x4069d6
mov ebx, dword [ebp - 0xf0]
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4069f3
and ebx, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xf0], ebx
call fcn.00401fd0
cmp byte [ebp - 0xe9], 0
je 0x406c24
lea eax, [ebp - 0x28]
push eax
call fcn.00416f20
mov ecx, dword [ebp - 0xf4]
add esp, 4
push eax
call fcn.004022e0
lea ecx, [ebp - 0x28]
call fcn.00401fd0
lea eax, [ebp - 0x88]
push 1
push eax
call fcn.00417d60
add esp, 8
push 0x11
push str.Run__UserAdmin__
push 0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00403610
mov edx, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [edx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
push 0x459acc
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00401480
add esp, 0xc
mov esi, dword [ebp - 0xf8]
mov ecx, esi
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x406ac5
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00402f00
mov edx, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov ecx, dword [edx]
mov dword [ebp - 0x70], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x68], ecx
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
push 0x459ac8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00401480
push str._updatehigh
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
call fcn.00401480
add esp, 0x18
mov ecx, esi
push eax
call fcn.004022e0
lea ecx, [ebp - 0xb8]
call fcn.00401fd0
lea ecx, [ebp - 0xd0]
call fcn.00401fd0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x406ba7
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406b9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40720b
push edx
push ecx
call fcn.0042679c
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00401fd0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x406c00
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406bf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40720b
push edx
push ecx
call fcn.0042679c
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00401fd0
jmp 0x4071ef
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 6
push 1
push eax
call fcn.00417d60
add esp, 8
lea ecx, [ebp - 0x28]
or ebx, 8
mov dword [ebp - 0xf0], ebx
push 0x16
push str.wtoolexwpsupdate.exe
call fcn.00402f00
mov edi, dword [ebp - 0xf4]
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.004022e0
and ebx, 0xfffffff7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xf0], ebx
call fcn.00401fd0
push edi
call fcn.004060a0
add esp, 4
test al, al
lea eax, [ebp - 0x88]
push eax
je 0x406cc0
call fcn.00406630
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x406c9e
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x406ca6
mov edi, dword [edi]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x88]
call fcn.00401fd0
jmp 0x4071ef
call fcn.00406630
add esp, 4
mov ecx, edi
push eax
call fcn.004022e0
lea ecx, [ebp - 0x88]
call fcn.00401fd0
push edi
call fcn.004060a0
add esp, 4
test al, al
je 0x406d94
lea eax, [ebp - 0x70]
push 1
push eax
call fcn.00417d60
add esp, 8
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmovae eax, dword [ebp - 0x70]
push 0
push eax
mov dword [ebp - 4], 7
call esi
push 9
push str.wtoolex_
lea ecx, [ebp - 0x70]
call fcn.00402f00
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 0
cmovae eax, dword [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0x28]
push eax
call fcn.00406830
add esp, 4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
mov eax, edi
cmovae ecx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x406d5b
mov eax, dword [edi]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x406d7f
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00403170
lea ecx, [ebp - 0x28]
call fcn.00401fd0
lea ecx, [ebp - 0x70]
call fcn.00401fd0
jmp 0x4071ef
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 9
push 1
push eax
call fcn.00417d60
add esp, 8
lea ecx, [ebp - 0x28]
or ebx, 0x10
mov dword [ebp - 0xf0], ebx
push 0x17
push str.wtoolexupdateself.exe
call fcn.00402f00
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004022e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00401fd0
push edi
call fcn.004060a0
add esp, 4
test al, al
je 0x406dff
mov ecx, dword [ebp - 0xf8]
push 0x12
push str._r__from:ksolaunch
call fcn.00403170
jmp 0x4071ef
lea eax, [ebp - 0x104]
push eax
call fcn.004061c0
add esp, 4
cmp dword [ebp - 0x100], 0
mov dword [ebp - 4], 0xa
je 0x4071e4
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ebx, dword [ebp - 0x104]
mov byte [ebp - 4], 0xb
mov esi, dword [ebx]
cmp esi, ebx
je 0x406f51
lea eax, [esi + 8]
push str.wpsupdate.exe
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401500
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x406ef7
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x406ead
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406ea3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40720b
push edx
push ecx
call fcn.0042679c
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x406f31
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406f27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40720b
push edx
push ecx
call fcn.0042679c
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.004060a0
add esp, 4
test al, al
jne 0x40708c
mov eax, dword [esi]
mov esi, eax
cmp eax, ebx
jne 0x406e51
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov esi, dword [ebx]
mov byte [ebp - 4], 0xc
cmp esi, ebx
je 0x407186
lea ebx, [ebx]
push str.updateself.exe
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00401500
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x407029
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x406fdf
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406fd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40720b
push edx
push ecx
call fcn.0042679c
add esp, 8
mov dword [ebp - 0x48], 0
xor eax, eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x44], 7
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x407069
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40705f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40720b
push edx
push ecx
call fcn.0042679c
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.004060a0
add esp, 4
test al, al
jne 0x40711c
mov esi, dword [esi]
cmp esi, ebx
jne 0x406f80
jmp 0x40714c
lea eax, [ebp - 0x88]
push eax
call fcn.00406630
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4070a3
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
cmovae ecx, dword [ebp - 0x40]
push 0
push eax
push ecx
call esi
lea ecx, [ebp - 0x88]
call fcn.00401fd0
lea eax, [ebp - 0x88]
push eax
call fcn.00406830
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4070dc
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
push eax
push ecx
call esi
lea ecx, [ebp - 0x88]
call fcn.00401fd0
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x40719a
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00403170
jmp 0x40719a
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x40713a
cmp dword [ebp - 0x44], 8
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00403170
mov ecx, dword [ebp - 0xf8]
push 0x12
push str._r__from:ksolaunch
call fcn.00403170
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x407186
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40717c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407210
push edx
push ecx
call fcn.0042679c
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4071d0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4071c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407210
push edx
push ecx
call fcn.0042679c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x104]
call fcn.00406170
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.00426a09
mov esp, ebp
pop ebp
ret
call fcn.0042b0ff
call fcn.0042b0ff
int3