Function at 0x100e7ec0
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101645c1
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88c], ecx
push 0x208
lea eax, [ebp - 0x650]
mov dword [ecx + 0x14], 0
push 0
push eax
mov dword [ebp - 0x890], 1
call fcn.1012bd00
add esp, 0xc
mov dword [ebp - 0x874], 7
xorps xmm0, xmm0
mov dword [ebp - 0x878], 0
xor eax, eax
movq qword [ebp - 0x18], xmm0
lea ecx, [ebp - 0x888]
mov word [ebp - 0x888], ax
push 0xc
push str.10.3.5.20529
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.10041f80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x870]
push 2
xor eax, eax
mov dword [ebp - 0x85c], 7
push 0x10193ca8
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
call fcn.10041f80
push 2
push 0x10193ccc
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 1
call fcn.100415d0
push 2
push 0x10193ca8
lea ecx, [ebp - 0x870]
call fcn.100415d0
cmp dword [ebp - 0x874], 8
lea eax, [ebp - 0x888]
push 0xd0
cmovae eax, dword [ebp - 0x888]
push eax
lea eax, [ebp - 0x38]
push str._s_d
push eax
call fcn.10041b40
add esp, 0x10
lea ecx, [ebp - 0x870]
cmp dword [ebp - 0x85c], 8
lea edx, [ebp - 0x650]
cmovae ecx, dword [ebp - 0x870]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x100e8000
lea edx, [ebp - 0x38]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100e8016
lea edi, [ebp - 0x650]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100e8030
mov ecx, edx
lea eax, [ebp - 0x650]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, dword [ebp - 0x88c]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100e83b0
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x89c], eax
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x894], eax
lea eax, [ebp - 0x8bc]
push 1
push eax
mov dword [ebp - 0x8a8], 0xc
mov dword [ebp - 0x8a4], eax
mov dword [ebp - 0x8a0], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x100e80c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InitializeSecurityDescriptor___failed.Error__d_n
call fcn.1003f010
add esp, 8
push 0x10000000
push str.Everyone
lea ecx, [ebp - 0x8bc]
mov byte [ebp - 4], 2
call fcn.1003e860
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
lea ecx, [ebp - 0x8bc]
call fcn.1003e860
lea eax, [ebp - 0x650]
push eax
push 0x5afc
push 0
push 4
lea eax, [ebp - 0x8a8]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100e83a1
push 0x208
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.1012bd00
push 0x208
lea eax, [ebp - 0x448]
push 0
push eax
call fcn.1012bd00
push 0x208
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.1012bd00
add esp, 0x24
lea eax, [ebp - 0x858]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x38]
push eax
push str.WanNengWB
push str.WanNengWBInput
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x448]
push str._s_s_s_s
push eax
call fcn.10041b40
add esp, 0x18
lea ecx, [ebp - 0x870]
cmp dword [ebp - 0x85c], 8
lea edx, [ebp - 0x240]
cmovae ecx, dword [ebp - 0x870]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x100e81b0
lea ecx, [ebp - 0x240]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100e81d0
mov eax, dword [str.TEMP__]
lea edx, [ebp - 0x38]
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x10193d2c]
mov dword [ecx + 4], eax
mov eax, dword [0x10193d30]
mov dword [ecx + 8], eax
mov ax, word [0x10193d34]
mov word [ecx + 0xc], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100e8202
lea edi, [ebp - 0x240]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100e8220
mov ecx, edx
lea eax, [ebp - 0x240]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x88c]
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push eax
push 1
push 0xf001f
mov dword [esi + 0x14], 1
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100e83a1
lea eax, [ebp - 0x240]
push eax
push 1
push 6
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100e83a1
push eax
push 0x80
push 4
push eax
push 3
push 0x10000000
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100e83ea
lea eax, [ebp - 0x240]
push eax
push 0x5afc
push 0
push 4
lea eax, [ebp - 0x8a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100e839a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x38]
push eax
push str.WanNengWB
push str.WanNengWBInput
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x448]
push str._s_s_s_s_d
push eax
call fcn.10041b40
add esp, 0x1c
lea eax, [ebp - 0x448]
push 0
push 0x80
push 4
push 0
push 3
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100e83ea
push dword [ebp - 0x88c]
cmp dword [ebp - 0x85c], 8
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x870]
cmovae ecx, dword [ebp - 0x870]
lea eax, [ebp - 0x240]
push ecx
push str._s_s_d
push eax
call fcn.10041b40
add esp, 0x14
lea eax, [ebp - 0x240]
push eax
push 0x5afc
push 0
push 4
lea eax, [ebp - 0x8a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x100e83ea
push 5
push 0
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x8bc]
mov byte [ebp - 4], 1
call fcn.1003e7f0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100e8407
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x10], eax
test eax, eax
je 0x100e83f7
cmp dword [ebp - 0x890], 0
mov dword [esi + 0x28], eax
jne 0x100e83e3
mov ecx, eax
call fcn.100e5b60
mov esi, 1
jmp 0x100e8426
lea ecx, [ebp - 0x8bc]
call fcn.1003e7f0
jmp 0x100e8424
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
push 0x5afc
call fcn.1010a843
add esp, 4
mov dword [ebp - 0x890], eax
mov ecx, eax
mov dword [esi + 0x28], eax
call fcn.100e5b60
xor esi, esi
mov eax, dword [ebp - 0x85c]
cmp eax, 8
jb 0x100e8444
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.10042120
mov ecx, dword [ebp - 0x874]
xor eax, eax
mov dword [ebp - 0x85c], 7
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
cmp ecx, 8
jb 0x100e847f
inc ecx
push ecx
push dword [ebp - 0x888]
lea ecx, [ebp - 0x888]
call fcn.10042120
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a832
mov esp, ebp
pop ebp
ret