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

Disassembly:
push ebp
sub esp, 0x820
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x820], eax
push 0xc
mov eax, 0x100ed1bd
call fcn.100773f7
xor edi, edi
push 0x206
lea eax, [ebp + 0x412]
mov esi, ecx
push edi
push eax
mov dword [esi + 0x14], edi
mov dword [ebp - 0x18], 1
mov word [ebp + 0x410], di
call fcn.10077be0
lea eax, [ebp + 0x410]
push str.__wannengwb__
push eax
call fcn.100780db
lea eax, [ebp + 0x410]
push str.9.6.1.0920
push eax
call fcn.100780b1
mov ebx, str.20150903
lea eax, [ebp + 0x410]
push ebx
push eax
call fcn.100780b1
add esp, 0x24
lea eax, [ebp + 0x410]
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x10051245
lea eax, [ebp + 0x410]
push eax
push 0x5c4c
push edi
push 4
push edi
push 0xffffffffffffffff
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x10051245
push 0x206
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.10077be0
push 0x206
lea eax, [ebp + 0x20a]
push edi
push eax
mov word [ebp + 0x208], di
call fcn.10077be0
push 0x206
lea eax, [ebp + 0x61a]
push edi
push eax
mov word [ebp + 0x618], di
call fcn.10077be0
add esp, 0x24
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
push str.9.6.1.0920
push str.WanNengWB
push str.WanNengWBInput
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push str._s_s_s_s_s
push eax
call fcn.100054f5
lea eax, [ebp + 0x618]
push str.__wannengwb__
push eax
call fcn.100780db
lea eax, [ebp + 0x618]
push str.TEMP__
push eax
call fcn.100780b1
lea eax, [ebp + 0x618]
push str.9.6.1.0920
push eax
call fcn.100780b1
lea eax, [ebp + 0x618]
push ebx
push eax
call fcn.100780b1
add esp, 0x3c
xor eax, eax
lea ecx, [ebp + 0x618]
inc eax
push ecx
push eax
push 0xf001f
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x10051245
lea eax, [ebp + 0x618]
push eax
push 1
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x10051245
push edi
push 0x80
push 4
push edi
push 3
push 0x10000000
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x100512b0
lea ecx, [ebp + 0x618]
push ecx
push 0x5c4c
push edi
push 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x1005123c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push str.9.6.1.0920
push str.WanNengWB
mov dword [ebp - 0x10], eax
push str.WanNengWBInput
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push str._s_s_s_s_s_d
push eax
call fcn.100054f5
add esp, 0x20
push edi
push 0x80
push 4
push edi
push 3
push 0x10000000
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x100512b0
push dword [ebp - 0x10]
lea eax, [ebp + 0x618]
push ebx
push str.9.6.1.0920
push str.__wannengwb__
push str._s_s_s_d
push eax
call fcn.100054f5
add esp, 0x18
lea eax, [ebp + 0x618]
push eax
push 0x5c4c
push edi
push 4
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 5
mov dword [esi + 0xc], eax
push edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp - 0x14]
jmp 0x1005123f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x10051282
push edi
push edi
push edi
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x10051276
cmp dword [ebp - 0x18], edi
mov dword [esi + 0x28], eax
jne 0x10051271
mov ecx, eax
call fcn.10050806
xor eax, eax
inc eax
jmp 0x100512b2
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], edi
push 0x5c4c
call fcn.10054d4d
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x100512a0
mov ecx, eax
call fcn.100507bc
jmp 0x100512a2
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x28], eax
call fcn.10050806
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x820]
xor ecx, ebp
call fcn.100773e8
add ebp, 0x824
leave
ret