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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557b41
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x5c100c]
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.00429bd0
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 0xb
push str.1.0.9.10112
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.004071b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x870]
push 2
xor eax, eax
mov dword [ebp - 0x85c], 7
push 0x5b2ea0
mov dword [ebp - 0x860], 0
mov word [ebp - 0x870], ax
call fcn.004071b0
push 4
push str.WnPY
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 1
call fcn.004065c0
push 2
push 0x5b2ea0
lea ecx, [ebp - 0x870]
call fcn.004065c0
cmp dword [ebp - 0x874], 8
lea eax, [ebp - 0x888]
push 0xbf
cmovae eax, dword [ebp - 0x888]
push eax
lea eax, [ebp - 0x38]
push str._s_d
push eax
call fcn.00406c50
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 0x403410
lea edx, [ebp - 0x38]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403426
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 0x403440
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 0x40378a
lea ecx, [ebp - 0x8bc]
mov dword [ebp - 0x890], eax
call fcn.00423f85
push 0x10000000
push str.Everyone
lea ecx, [ebp - 0x8bc]
mov byte [ebp - 4], 2
call fcn.00423fdf
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
lea ecx, [ebp - 0x8bc]
call fcn.00423fdf
lea eax, [ebp - 0x650]
push eax
push 0x59e8
push 0
push 4
lea ecx, [ebp - 0x8bc]
call fcn.004243f5
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40377b
push 0x208
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.00429bd0
push 0x208
lea eax, [ebp - 0x448]
push 0
push eax
call fcn.00429bd0
push 0x208
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.00429bd0
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.WanNeng
push str.WanNengInput
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x448]
push str._s_s_s_s
push eax
call fcn.00406c50
add esp, 0x18
lea ecx, [ebp - 0x870]
cmp dword [ebp - 0x85c], 8
lea edx, [ebp - 0x240]
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 0x403580
lea ecx, [ebp - 0x240]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4035a0
mov eax, dword [str.TEMP__]
lea edx, [ebp - 0x38]
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x5b2f4c]
mov dword [ecx + 4], eax
mov eax, dword [0x5b2f50]
mov dword [ecx + 8], eax
mov ax, word [0x5b2f54]
mov word [ecx + 0xc], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4035d2
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 0x4035f0
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 0x40377b
lea eax, [ebp - 0x240]
push eax
push 1
push 6
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40377b
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 0x4037c4
lea eax, [ebp - 0x240]
push eax
push 0x59e8
push 0
push 4
lea ecx, [ebp - 0x8bc]
call fcn.004243f5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x403774
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x38]
push eax
push str.WanNeng
push str.WanNengInput
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x448]
push str._s_s_s_s_d
push eax
call fcn.00406c50
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 0x4037c4
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.00406c50
add esp, 0x14
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x8bc]
push eax
push 0x59e8
push 0
push 4
call fcn.004243f5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4037c4
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.00423fce
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4037e1
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 0x4037d1
cmp dword [ebp - 0x890], 0
mov dword [esi + 0x28], eax
jne 0x4037bd
mov ecx, eax
call fcn.004018f0
mov esi, 1
jmp 0x403800
lea ecx, [ebp - 0x8bc]
call fcn.00423fce
jmp 0x4037fe
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], 0
push 0x59e8
call fcn.00415dc6
add esp, 4
mov dword [ebp - 0x890], eax
mov ecx, eax
mov dword [esi + 0x28], eax
call fcn.004018f0
xor esi, esi
mov eax, dword [ebp - 0x85c]
cmp eax, 8
jb 0x40381e
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.004073a0
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 0x403859
inc ecx
push ecx
push dword [ebp - 0x888]
lea ecx, [ebp - 0x888]
call fcn.004073a0
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.00415db5
mov esp, ebp
pop ebp
ret