Function at 0x40404b
Capabilities:
Copy file

Disassembly:
mov eax, 0x414565
call fcn.0040b7a8
mov eax, 0x1028
call fcn.0040ba20
cmp byte [0x419d90], 0
je 0x404370
cmp byte [0x41da94], 0
jne 0x404370
push ebx
push esi
push edi
push 0x41816c
lea ecx, [ebp - 0x42c]
mov byte [0x41da94], 1
call fcn.00407516
xor ebx, ebx
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], ebx
call fcn.00407613
push eax
mov eax, dword [0x41deb8]
mov ecx, dword [eax]
call fcn.00401d45
push 6
mov esi, 0x419bec
pop ecx
lea edi, [ebp - 0x328]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0x3a
xor eax, eax
pop ecx
lea edi, [ebp - 0x30d]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x328]
push eax
call fcn.00402099
pop ecx
lea eax, [ebp - 0x328]
push ebx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00407613
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x634]
push eax
call fcn.00403f49
pop ecx
lea eax, [ebp - 0xa44]
mov ecx, dword [0x41deb8]
push eax
call fcn.0040342c
lea eax, [ebp - 0xa44]
push eax
lea eax, [ebp - 0x83c]
push eax
call fcn.0040b270
lea eax, [ebp - 0x83c]
push 0x419a38
push eax
call fcn.0040b280
add esp, 0x10
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x224]
push 1
push ebx
push 3
push 0x80000000
push eax
call fcn.00404f52
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.0040502e
test al, al
mov edi, 0x41da98
je 0x404288
push 1
push ebx
push 2
lea eax, [ebp - 0x634]
push 0x40000000
push eax
lea ecx, [ebp - 0x118]
call fcn.00404f52
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0040502e
test al, al
je 0x404277
mov ebx, 0x3e8
lea eax, [ebp - 0xe2c]
push ebx
push eax
lea ecx, [ebp - 0x224]
call fcn.00405323
test al, al
je 0x404277
mov esi, 0x419be8
jmp 0x4041d5
mov ebx, 0x3e8
lea eax, [ebp - 0xe2c]
push 0x419b54
push eax
call fcn.0040b850
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0xe2c]
jne 0x40422a
push ebx
push eax
lea ecx, [ebp - 0x224]
call fcn.00405323
push 2
push 0x419bd8
call fcn.0040b7d0
pop ecx
push eax
push 0x419bd8
lea ecx, [ebp - 0x118]
call fcn.0040511d
push 2
push edi
call fcn.0040b7d0
pop ecx
push eax
push edi
jmp 0x40423b
push 2
push eax
call fcn.0040b7d0
pop ecx
push eax
lea eax, [ebp - 0xe2c]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040511d
push 2
push esi
call fcn.0040b7d0
pop ecx
push eax
lea ecx, [ebp - 0x118]
push esi
call fcn.0040511d
lea eax, [ebp - 0xe2c]
push ebx
push eax
lea ecx, [ebp - 0x224]
call fcn.00405323
test al, al
jne 0x4041d0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.00405014
xor ebx, ebx
mov ecx, dword [0x41deb8]
lea eax, [ebp - 0x738]
push eax
call fcn.0040342c
lea eax, [ebp - 0x738]
push 0x419a2c
push eax
call fcn.0040b280
lea eax, [ebp - 0x940]
push eax
call fcn.00403f65
add esp, 0xc
lea eax, [ebp - 0x940]
push ebx
push eax
lea eax, [ebp - 0x738]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push 0x41ddb0
lea eax, [ebp - 0x530]
push 0x419ba0
push eax
call ebx
lea eax, [ebp - 0x530]
mov esi, 0x80000002
push eax
push esi
push 0x419b94
push 0x41ddb0
call fcn.00407127
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x1034]
push 0x419b80
push eax
call ebx
lea eax, [ebp - 0x530]
push eax
push esi
lea eax, [ebp - 0x1034]
push 0x419b70
push eax
call fcn.00407127
lea eax, [ebp - 0x530]
push eax
push esi
push 0x419b64
push edi
call fcn.00407127
and byte [ebp - 4], 0
add esp, 0x4c
lea ecx, [ebp - 0x224]
call fcn.00405014
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.004075fc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret