Function at 0x43f4d2
Capabilities:
Copy file

Disassembly:
push 0x24c
mov eax, 0x46c145
call fcn.00468ea6
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], ebx
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43f527
test dword [eax + 0x1c], 0x100
je 0x43f527
cmp byte [eax + 0x19], 4
jb 0x43f527
push dword [eax + 0x14]
mov edx, 0x40da20
push dword [eax + 0x10]
push 0x3b
pop ecx
call fcn.00414ca8
xor eax, eax
lea edi, [ebp - 0x254]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [ebp - 0x258], 2
mov dword [ebp - 0x254], eax
call dword [sym.imp.MFC42u.dll_CString::CString_3]
lea eax, [ebp - 0x258]
xor ebx, ebx
push eax
mov eax, dword [ebp - 0x238]
push 0xffffffffffffffff
push 0x1053
mov dword [ebp - 4], ebx
push dword [eax + 0x144]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x23c]
test eax, eax
js 0x43f5b4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x234]
push dword [edi]
push 0xef32
push eax
call dword [sym.imp.MFC42u.dll_AfxFormatString1]
push ecx
push 0x34
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x234]
pop edx
call fcn.00422563
cmp eax, 6
jne 0x43f732
lea ecx, [ebp - 0x22c]
call fcn.0041f3e1
test eax, eax
jne 0x43f657
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43f732
test dword [eax + 0x1c], 0x100
je 0x43f732
cmp byte [eax + 0x19], 2
jb 0x43f732
push ebx
push 0x40d7dc
push dword [eax + 0x14]
mov edx, 0x40da20
push dword [eax + 0x10]
push 0x3d
pop ecx
call fcn.00414cf4
jmp 0x43f732
lea ecx, [ebp - 0x230]
call dword [sym.imp.MFC42u.dll_CString::CString_3]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x22c]
push dword [edi]
push eax
lea eax, [ebp - 0x230]
push 0x4094f4
push eax
call dword [sym.imp.MFC42u.dll_CString::Format]
mov eax, dword [ebp - 0x240]
add esp, 0x10
mov dword [ebp - 4], 3
push ebx
push dword [ebp - 0x230]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43f6da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43f721
test dword [ecx + 0x1c], 0x100
je 0x43f721
cmp byte [ecx + 0x19], 2
jb 0x43f721
push edi
push 0x40d95c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x3f
jmp 0x43f716
mov ecx, dword [ebp - 0x238]
call fcn.0043df02
mov edi, eax
test edi, edi
je 0x43f749
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43f721
test dword [ecx + 0x1c], 0x100
je 0x43f721
cmp byte [ecx + 0x19], 2
jb 0x43f721
push edi
push 0x40d78c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x40
mov edx, 0x40da20
pop ecx
call fcn.00414cf4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC42u.dll_CString::CString]
mov ebx, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov eax, ebx
jmp 0x43f7ca
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC42u.dll_CString::CString]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::CString]
xor eax, eax
jmp 0x43f7ca
call fcn.00468de4
ret 8