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

Disassembly:
push ebp
sub esp, 0x864
lea ebp, [esp - 4]
mov eax, dword [0x4f2b64]
xor eax, ebp
mov dword [ebp + 0x864], eax
push 0x24
mov eax, 0x4afc53
call fcn.004562d8
xor ebx, ebx
push 0x206
lea eax, [ebp + 0x226]
mov esi, ecx
push ebx
push eax
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x14], 1
mov word [ebp + 0x224], bx
call fcn.00456900
add esp, 0xc
push 9
pop ecx
mov word [ebp + 0x83c], bx
xor eax, eax
lea edi, [ebp + 0x83e]
rep stosd dword es:[edi], eax
push 0x4bc1d8
lea ecx, [ebp - 0x30]
stosw word es:[edi], ax
call fcn.004015d0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
call fcn.0040faa9
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004017c0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41b6eb
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x83c]
push 0x4b6eb4
push eax
call fcn.004567da
lea eax, [ebp + 0x224]
push str.__dongfang__
push eax
call fcn.004568d5
lea eax, [ebp + 0x83c]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.004568ab
add esp, 0x1c
lea eax, [ebp + 0x224]
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41b98e
lea eax, [ebp + 0x224]
push eax
push 0x5d28
push ebx
push 4
push ebx
push 0xffffffffffffffff
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41b98e
mov edi, 0x206
push edi
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.00456900
push edi
lea eax, [ebp + 0x42e]
push ebx
push eax
mov word [ebp + 0x42c], bx
call fcn.00456900
push edi
lea eax, [ebp + 0x636]
push ebx
push eax
mov word [ebp + 0x634], bx
call fcn.00456900
add esp, 0x24
lea eax, [ebp + 0x1c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x83c]
push eax
push str.DongFang
push str.DongFangInput
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x42c]
push str._s_s_s_s
push eax
call fcn.004567da
lea eax, [ebp + 0x634]
push str.__dongfang__
push eax
call fcn.004568d5
lea eax, [ebp + 0x634]
push str.TEMP__
push eax
call fcn.004568ab
lea eax, [ebp + 0x83c]
push eax
lea eax, [ebp + 0x634]
push eax
call fcn.004568ab
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
add esp, 0x30
xor eax, eax
lea ecx, [ebp + 0x634]
inc eax
push ecx
push eax
push 0xf001f
mov dword [esi + 0x14], eax
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41b98e
lea eax, [ebp + 0x634]
push eax
push 1
push 6
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41b98e
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x80
push 4
push ebx
push 3
push 0x10000000
lea eax, [ebp + 0x42c]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x41b8ac
push ebx
push 1
lea ecx, [ebp]
call fcn.00401840
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 + 0x864]
xor ecx, ebp
call fcn.004562c9
add ebp, 0x868
leave
ret
lea ecx, [ebp + 0x634]
push ecx
push 0x5d28
push ebx
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41b985
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x83c]
push eax
push str.DongFang
push str.DongFangInput
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x42c]
push str._s_s_s_s_d
push eax
call fcn.004567da
add esp, 0x1c
push ebx
push 0x80
push 4
push ebx
push 3
push 0x10000000
lea eax, [ebp + 0x42c]
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x41b935
xor esi, esi
push ebx
push 1
lea ecx, [ebp]
call fcn.00401840
mov eax, esi
jmp 0x41b889
push dword [ebp - 0x10]
lea eax, [ebp + 0x83c]
push eax
push str.__dongfang__
lea eax, [ebp + 0x634]
push str._s_s_d
push eax
call fcn.004567da
add esp, 0x14
lea eax, [ebp + 0x634]
push eax
push 0x5d28
push ebx
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 5
mov dword [esi + 0xc], eax
push ebx
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
jmp 0x41b988
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x41b9ce
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x41b9c2
cmp dword [ebp - 0x14], ebx
mov dword [esi + 0x28], eax
jne 0x41b9ba
mov ecx, eax
call fcn.004190c4
xor esi, esi
inc esi
jmp 0x41b923
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], ebx
push 0x5d28
call fcn.0043a737
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41b9ed
mov ecx, eax
call fcn.004190c0
jmp 0x41b9ef
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [esi + 0x28], eax
call fcn.004190c4
jmp 0x41b921