Function at 0x403df0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x47ef4c
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.0040ce00
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6cc], 0
push ecx
call fcn.0045fb2d
mov ebx, dword [esp + 0x6e4]
push ebx
call fcn.0045fb2d
mov ebp, dword [esp + 0x6e4]
lea edx, [esp + 0x38]
push 0xa
push edx
push ebp
call fcn.004508e3
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.0044d8ca
mov edi, 0x49cc80
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.0044d839
add esp, 0x40
push 0
lea ecx, [esp + 0x1c4]
push ecx
call fcn.0045fabd
add esp, 8
test eax, eax
jne 0x403f27
push eax
lea edx, [esp + 0x1c4]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x40406a
call fcn.00402ee0
mov eax, dword [0x4aa830]
test eax, eax
je 0x40406a
lea ecx, [esp + 0x14]
call fcn.0047d675
push 0
push str.AcroExch.PDDoc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6d0], 1
call fcn.0047d733
mov eax, dword [esp + 0x14]
test eax, eax
je 0x404059
test ebp, ebp
jne 0x403f8f
mov eax, dword [esp + 0x10]
push eax
push ebx
push str.textout
push 0x49cc60
call fcn.0040e7d0
mov ecx, dword [esp + 0x20]
push ecx
push ebp
push ebp
push ebp
call fcn.0040e7d0
add esp, 0x20
mov esi, dword [esp + 0x6d4]
lea ecx, [esp + 0x14]
push esi
call fcn.004010a0
test eax, eax
je 0x404059
push 0x49cc5c
lea ecx, [esp + 0x18]
call fcn.004011d0
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.0047d682
test ebp, ebp
mov byte [esp + 0x6c8], 2
jle 0x40402e
lea ecx, [esp + 0x24]
call fcn.00401200
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.0047d682
mov edx, dword [esp + 0x10]
mov byte [esp + 0x6c8], 3
push edx
push ebx
push str.textout
push 0x49cc60
call fcn.0040e7d0
mov eax, dword [esp + 0x20]
push eax
push 0
push 0
push 0
call fcn.0040e7d0
add esp, 0x20
lea ecx, [esp + 0x1c]
push ebp
call fcn.00401220
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c8], 2
call fcn.0047d786
lea ecx, [esp + 0x14]
call fcn.004010d0
push esi
mov ecx, 0x4aa7e0
call fcn.00463140
lea ecx, [esp + 0x24]
mov dword [0x4aa834], ebp
mov byte [esp + 0x6c8], 1
call fcn.0047d786
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c8], 0
call fcn.0047d786
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c8], 0xffffffff
call fcn.00462fb7
mov ecx, dword [esp + 0x6c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6bc
ret