Function at 0x403ef0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48a33c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6b0
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040bdf0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6cc], 0
push ecx
call fcn.0046b2fd
mov ebx, dword [esp + 0x6e4]
push ebx
call fcn.0046b2fd
mov ebp, dword [esp + 0x6e4]
lea edx, [esp + 0x38]
push 0xa
push edx
push ebp
call fcn.0045ac5b
lea eax, [esp + 0x3d8]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x4dc]
push ecx
mov ecx, dword [esp + 0x6f4]
lea eax, [esp + 0x160]
push edx
push eax
push ecx
call fcn.0045887a
mov edi, 0x4afc28
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str..txt
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x70]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x70]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4f4]
lea edx, [esp + 0x174]
push ecx
lea eax, [esp + 0x1f8]
push edx
push eax
call fcn.004587e9
add esp, 0x40
push 0
lea ecx, [esp + 0x1c4]
push ecx
call fcn.0046b28d
add esp, 8
test eax, eax
jne 0x404027
push eax
lea edx, [esp + 0x1c4]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x404161
call fcn.00402ff0
mov eax, dword [0x4bfc38]
test eax, eax
je 0x404161
lea ecx, [esp + 0x14]
call fcn.004889fb
push 0
push str.AcroExch.PDDoc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6d0], 1
call fcn.00488ab9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x404150
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test ebp, ebp
jne 0x40408f
mov eax, dword [esp + 0x10]
push eax
push ebx
push str.textout
push str.file
call esi
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0
push 0
call esi
mov edi, dword [esp + 0x6d4]
lea ecx, [esp + 0x14]
push edi
call fcn.004010a0
test eax, eax
je 0x404150
push 0x4afc04
lea ecx, [esp + 0x18]
call fcn.004011d0
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.00488a08
test ebp, ebp
mov byte [esp + 0x6c8], 2
jle 0x404125
lea ecx, [esp + 0x24]
call fcn.00401200
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.00488a08
mov edx, dword [esp + 0x10]
mov byte [esp + 0x6c8], 3
push edx
push ebx
push str.textout
push str.file
call esi
mov eax, dword [esp + 0x10]
push eax
push 0
push 0
push 0
call esi
push ebp
lea ecx, [esp + 0x20]
call fcn.00401220
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c8], 2
call fcn.00488b0c
lea ecx, [esp + 0x14]
call fcn.004010d0
push edi
mov ecx, 0x4bfbe8
call fcn.0046e8dc
lea ecx, [esp + 0x24]
mov dword [0x4bfc3c], ebp
mov byte [esp + 0x6c8], 1
call fcn.00488b0c
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c8], 0
call fcn.00488b0c
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c8], 0xffffffff
call fcn.0046e753
mov ecx, dword [esp + 0x6c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6bc
ret