Function at 0x40a900
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x47f621
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x2c]
call fcn.00445d5b
mov edi, dword [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [esp + 0x264]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov edi, str.____
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x25c], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x150]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x26c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045fc96
add esp, 4
lea eax, [esp + 0x14c]
lea ecx, [esp + 0x2c]
push 0
push eax
call fcn.00445e1e
test eax, eax
je 0x40ac2d
lea ecx, [esp + 0x2c]
call fcn.0044603e
mov edx, dword [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
call dword [edx + 0x38]
test eax, eax
jne 0x40aac7
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.____
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.00446236
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00462fb7
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
call fcn.0044610d
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x18]
jmp 0x40ac1c
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
push edx
call fcn.00446236
mov eax, dword [eax]
push 0x49df8c
push eax
mov byte [esp + 0x260], 1
call fcn.0044d292
add esp, 8
test eax, eax
je 0x40ab25
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
call fcn.00446236
mov eax, dword [eax]
push 0x49e0f0
push eax
call fcn.0044d292
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
setne bl
call fcn.00462fb7
test bl, bl
je 0x40ab25
mov bl, 1
jmp 0x40ab27
xor bl, bl
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], 0
call fcn.00462fb7
test bl, bl
je 0x40ac21
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.____
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.00446236
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00462fb7
lea eax, [esp + 0x48]
push eax
call fcn.0045fc96
add esp, 4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.0044610d
mov edx, dword [esp + 0x268]
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push edx
push ecx
push eax
mov byte [esp + 0x264], 2
call fcn.0040a900
add esp, 0xc
mov byte [esp + 0x258], 0
lea ecx, [esp + 0x14]
call fcn.00462fb7
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40a9eb
lea ecx, [esp + 0x2c]
call fcn.00445dd4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x258], 0xffffffff
call fcn.00445d98
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret