Function at 0x483300
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4ed6e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov ebp, 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 4
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0x70]
lea esi, [edi + 0x70]
mov byte [esp + 0x6c], 6
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4833a4
mov esi, dword [esp + 0x74]
push 0x51115c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x30], ebp
jmp 0x483a4d
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
add eax, 0x130
push eax
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 7
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x3c]
mov byte [esp + 0x6c], 8
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x2c]
push eax
push edx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 9
call fcn.004e2718
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 8
call fcn.004e2712
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x483685
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x44]
push eax
call sub.MFC42.DLL_CString::Left
push str..txt
lea ecx, [esp + 0x40]
mov bl, 0xa
push eax
push ecx
mov byte [esp + 0x78], bl
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0xb
call fcn.004e2718
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], bl
call fcn.004e2712
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 8
call fcn.004e2712
mov edx, dword [esp + 0x14]
push 0
push 0x5001
push edx
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CStdioFile::Open
mov eax, dword [edi + 0xfc]
lea ecx, [esp + 0x24]
push eax
push 0x50f158
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [edi + 0x100]
add esp, 0xc
lea eax, [esp + 0x20]
push edx
push 0x50f158
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [edi + 0x104]
add esp, 0xc
lea edx, [esp + 0x1c]
push ecx
push 0x50f158
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 0x108]
add esp, 0xc
lea ecx, [esp + 0x18]
push eax
push 0x50f158
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x40]
push 0x50f4b0
push esi
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0xc
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 8
call fcn.004e2712
lea eax, [esp + 0x24]
push 0x50f4b0
lea ecx, [esp + 0x44]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0xd
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 8
call fcn.004e2712
lea edx, [esp + 0x20]
push 0x50f4b0
lea eax, [esp + 0x44]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0xe
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 8
call fcn.004e2712
lea ecx, [esp + 0x1c]
push 0x50f4b0
lea edx, [esp + 0x44]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0xf
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 8
call fcn.004e2712
lea eax, [esp + 0x18]
push 0x50f4b0
lea ecx, [esp + 0x44]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0x10
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 8
call fcn.004e2712
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CStdioFile::Close
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x74]
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
mov ecx, esi
push eax
push edi
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov byte [esp + 0x6c], 7
call fcn.004e2712
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 6
call fcn.004e2712
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 5
call fcn.004e2712
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 4
call fcn.004e29ac
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x18]
call fcn.004e2712
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 2
call fcn.004e2712
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.004e2712
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.004e2712
mov eax, edi
jmp 0x483aa3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
mov bl, 0x11
push 0
mov byte [esp + 0x70], bl
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
mov ebp, dword [sym.imp.MSVCRT.dll_rand]
call ebp
cdq
mov ecx, 0x2710
idiv ecx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
mov dword [esp + 0x40], edx
call ebp
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x28]
add eax, edx
push eax
push str._08d
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x44]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
push str..txt
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0x78], 0x12
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0x13
call fcn.004e2718
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0x12
call fcn.004e2712
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
call fcn.004e2712
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00456d10
add esp, 4
test eax, eax
jne 0x4836b4
mov ecx, dword [esp + 0x14]
push eax
push 0x5001
push ecx
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CStdioFile::Open
mov edx, dword [edi + 0xfc]
lea eax, [esp + 0x24]
push edx
push 0x50f158
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [edi + 0x100]
add esp, 0xc
lea edx, [esp + 0x20]
push ecx
push 0x50f158
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 0x104]
add esp, 0xc
lea ecx, [esp + 0x1c]
push eax
push 0x50f158
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [edi + 0x108]
add esp, 0xc
lea eax, [esp + 0x18]
push edx
push 0x50f158
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x44]
push 0x50f4b0
push esi
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0x14
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
call fcn.004e2712
lea edx, [esp + 0x24]
push 0x50f4b0
lea eax, [esp + 0x48]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0x15
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
call fcn.004e2712
lea ecx, [esp + 0x20]
push 0x50f4b0
lea edx, [esp + 0x48]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0x16
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
call fcn.004e2712
lea eax, [esp + 0x1c]
push 0x50f4b0
push eax
lea ecx, [esp + 0x4c]
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0x17
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
call fcn.004e2712
lea edx, [esp + 0x18]
push 0x50f4b0
lea eax, [esp + 0x48]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x70], 0x18
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], bl
call fcn.004e2712
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x40]
push 4
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Right
mov edi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0x78], 0x19
call sub.MFC42.DLL_operator
push edi
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x78], 0x1a
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x1d
call fcn.004e2712
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0x1c
call fcn.004e2712
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x4c]
push 4
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0x1e
call sub.MFC42.DLL_CString::Right
mov edi, eax
lea eax, [esp + 0x28]
mov byte [esp + 0x6c], 0x1f
push eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push edx
call sub.MFC42.DLL_operator
push edi
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x74], 0x20
push eax
call sub.MFC42.DLL_operator
push eax
mov ecx, esi
mov byte [esp + 0x70], 0x21
call fcn.004e2718
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0x20
call fcn.004e2712
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x1f
call fcn.004e2712
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0x1e
call fcn.004e2712
lea ecx, [esp + 0x4c]
push 4
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Right
mov esi, dword [esp + 0x74]
lea edx, [esp + 0x28]
push eax
push edx
push esi
mov byte [esp + 0x78], 0x22
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], 1
mov byte [esp + 0x6c], 0x1e
call fcn.004e2712
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x1c
call fcn.004e2712
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.004e2712
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 8
call fcn.004e2712
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 7
call fcn.004e2712
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 6
call fcn.004e2712
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 5
call fcn.004e2712
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 4
call fcn.004e29ac
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 3
call fcn.004e2712
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 2
call fcn.004e2712
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.004e2712
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.004e2712
mov eax, esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 4