Function at 0x401dd5
Capabilities:
Copy file
Create thread

Disassembly:
mov eax, 0x41b066
call fcn.00411bc4
sub esp, 0x428
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call fcn.00401fce
test al, al
je 0x401e09
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x401fbd
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x433]
mov byte [ebp - 0x434], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x434]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00401ff6
mov edi, 0x400
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push edi
mov dword [esi + 0x5c], eax
push eax
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push edi
push eax
push 0xffffffffffffffff
mov dword [esi + 0x60], eax
push dword [ebp + 0xc]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
call fcn.00411747
mov edi, eax
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x401ea5
mov eax, dword [esi + 0x5c]
lea ecx, [edi + 8]
push eax
mov dword [edi], ebx
mov dword [edi + 4], esi
call fcn.004021c0
mov dword [edi + 0x18], 0x1000
mov byte [edi + 0x1c], 1
jmp 0x401ea7
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push 0x401d8f
push ebx
push ebx
mov dword [esi + 0x64], edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 4
mov dword [ebp + 0xc], edi
call fcn.00411747
mov dword [eax], edi
pop ecx
mov edi, 0xff
mov dword [ebp + 8], eax
push edi
push 0xffffffffffffffff
push ebx
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
mov dword [ebp - 0x10], eax
jne 0x401f63
push 1
push ebx
push ebx
lea eax, [ebp - 0x34]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x401f18
cmp dword [ebp - 0x30], 0x8032
je 0x401f21
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x401ef0
push edi
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
jmp 0x401ee0
mov ecx, dword [esi + 0x64]
call fcn.00402277
push dword [ebp + 8]
call fcn.00411be3
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop ecx
push dword [esi + 0x5c]
call edi
push dword [esi + 0x60]
call edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x64]
cmp esi, ebx
je 0x401f98
lea ecx, [esi + 8]
call fcn.004020c5
push esi
call fcn.0040301d
pop ecx
jmp 0x401f98
push dword [ebp + 8]
call fcn.00411be3
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop ecx
push dword [esi + 0x5c]
call edi
push dword [esi + 0x60]
call edi
mov esi, dword [esi + 0x64]
cmp esi, ebx
je 0x401f92
lea ecx, [esi + 8]
call fcn.004020c5
push esi
call fcn.0040301d
pop ecx
cmp dword [ebp - 0x10], 0xffffffff
jne 0x401f9c
xor eax, eax
jmp 0x401fbd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x14], ebx
setge al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8