Function at 0x403200
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x40fb9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
mov eax, dword [esp + 0x18c]
push ebx
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x88]
mov dword [esp + 0x194], ebx
push ecx
stosb byte es:[edi], al
call fcn.00401ae0
add esp, 8
lea edx, [esp + 0x84]
push str.Skin_
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0xc]
push 0x5c
lea ecx, [esp + 0x10]
mov edi, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub edi, eax
lea ecx, [esp + 0x1c]
dec edi
push edi
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea edx, [esp + 0x88]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x19c], 1
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x190], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x19c], 4
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x40341d
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::GetLength
mov edx, dword [esi + 0xc0]
push eax
push ebx
push 0x406
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::Close
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push ebx
push eax
push esi
push 0x403590
push ecx
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp eax, ebx
je 0x4033ba
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push 0x3eb
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x403364
push 0x415b28
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0xe0]
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call fcn.00402fc0
lea ecx, [esp + 0x24]
mov byte [esp + 0x190], 3
call fcn.0040f09c
lea ecx, [esp + 0x10]
mov byte [esp + 0x190], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x190], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x403454
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
lea edx, [esp + 0x18]
push ebx
push edx
push 0x400
push eax
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push 0x415b10
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
lea eax, [esp + 0x38]
push 0x415b08
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDialog::EndDialog
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 0x24]
mov byte [esp + 0x190], 3
call fcn.0040f09c
lea ecx, [esp + 0x10]
mov byte [esp + 0x190], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x190], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x188]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x188
ret 4