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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163bd1
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x101b90ec]
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.1012b3b0
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.2.8.21031
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.10041f70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x870]
push 2
xor eax, eax
mov dword [ebp - 0x85c], 7
push 0x10192c1c
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
call fcn.10041f70
push 2
push 0x10192c40
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 1
call fcn.100415c0
push 2
push 0x10192c1c
lea ecx, [ebp - 0x870]
call fcn.100415c0
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.10041b30
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 0x100e7710
lea edx, [ebp - 0x38]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100e7726
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 0x100e7740
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 0x100e7ac0
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 0x100e77d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InitializeSecurityDescriptor___failed.Error__d_n
call fcn.1003f000
add esp, 8
push 0x10000000
push str.Everyone
lea ecx, [ebp - 0x8bc]
mov byte [ebp - 4], 2
call fcn.1003e850
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
lea ecx, [ebp - 0x8bc]
call fcn.1003e850
lea eax, [ebp - 0x650]
push eax
push 0x5a98
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 0x100e7ab1
push 0x208
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.1012b3b0
push 0x208
lea eax, [ebp - 0x448]
push 0
push eax
call fcn.1012b3b0
push 0x208
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.1012b3b0
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.10041b30
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 0x100e78c0
lea ecx, [ebp - 0x240]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100e78e0
mov eax, dword [str.TEMP__]
lea edx, [ebp - 0x38]
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x10192ca0]
mov dword [ecx + 4], eax
mov eax, dword [0x10192ca4]
mov dword [ecx + 8], eax
mov ax, word [0x10192ca8]
mov word [ecx + 0xc], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100e7912
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 0x100e7930
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 0x100e7ab1
lea eax, [ebp - 0x240]
push eax
push 1
push 6
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100e7ab1
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 0x100e7afa
lea eax, [ebp - 0x240]
push eax
push 0x5a98
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 0x100e7aaa
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.10041b30
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 0x100e7afa
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.10041b30
add esp, 0x14
lea eax, [ebp - 0x240]
push eax
push 0x5a98
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 0x100e7afa
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.1003e7e0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100e7b17
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 0x100e7b07
cmp dword [ebp - 0x890], 0
mov dword [esi + 0x28], eax
jne 0x100e7af3
mov ecx, eax
call fcn.100e52a0
mov esi, 1
jmp 0x100e7b36
lea ecx, [ebp - 0x8bc]
call fcn.1003e7e0
jmp 0x100e7b34
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
push 0x5a98
call fcn.10109ed3
add esp, 4
mov dword [ebp - 0x890], eax
mov ecx, eax
mov dword [esi + 0x28], eax
call fcn.100e52a0
xor esi, esi
mov eax, dword [ebp - 0x85c]
cmp eax, 8
jb 0x100e7b54
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.10042110
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 0x100e7b8f
inc ecx
push ecx
push dword [ebp - 0x888]
lea ecx, [ebp - 0x888]
call fcn.10042110
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.10109ec2
mov esp, ebp
pop ebp
ret