Function at 0x48edb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ecd8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.0040a0e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
call fcn.004d4730
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x52a2c4
call fcn.0040a850
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
lea ecx, [ebp - 0x6c]
call fcn.0040aa10
lea ecx, [ebp - 0x40]
test al, al
je 0x48ee7c
call fcn.00402fb0
lea ecx, [ebp - 0x6c]
mov edx, eax
call fcn.0040a980
mov ecx, edx
mov edi, eax
call fcn.00402fb0
push dword [edi]
mov esi, eax
push 0x18
call fcn.00401950
add esp, 8
mov ecx, esi
mov edx, eax
call fcn.00402fb0
push eax
mov ecx, edx
call fcn.0040a8b0
add dword [edi], 0x18
jmp 0x48ee92
call fcn.00402fb0
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040a980
mov eax, dword [eax]
push eax
call fcn.0040bad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
call fcn.0040bfc0
test eax, eax
je 0x48f03a
lea ecx, [ebp - 0x6c]
call fcn.00402fb0
mov esi, eax
xor edi, edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x60], edi
lea ecx, [ebp - 0x28]
call fcn.0040a890
mov byte [ebp - 4], 5
mov esi, dword [esi]
add esi, edi
push esi
call fcn.00413fc0
add esp, 4
test al, al
je 0x48f02a
mov edi, dword [ebp - 0x70]
add edi, 4
push edi
call fcn.00413fc0
add esp, 4
test al, al
jne 0x48ef16
mov ecx, edi
call fcn.00414980
test al, al
je 0x48f02a
lea ecx, [ebp - 0x40]
call fcn.0040a890
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.00415df0
add esp, 8
test al, al
je 0x48f01e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a7d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
push 0
lea ecx, [ebp - 0x28]
call fcn.0040a750
push eax
mov ecx, esi
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
test esi, esi
je 0x48f02a
mov ecx, ebx
call fcn.0040aa10
lea ecx, [ebp - 0x28]
test al, al
je 0x48efd9
call fcn.00402fb0
mov ecx, ebx
mov edx, eax
call fcn.0040a980
mov ecx, edx
mov edi, eax
call fcn.00402fb0
push dword [edi]
mov esi, eax
push 0x18
call fcn.00401950
add esp, 8
mov ecx, esi
mov edx, eax
call fcn.00402fb0
push eax
mov ecx, edx
call fcn.0040a8b0
add dword [edi], 0x18
jmp 0x48efee
call fcn.00402fb0
push eax
mov ecx, ebx
call fcn.0040a980
mov eax, dword [eax]
push eax
call fcn.0040bad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
mov edi, dword [ebp - 0x60]
inc esi
add edi, 0x18
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
call fcn.0040bfc0
cmp esi, eax
jae 0x48f03a
mov esi, dword [ebp - 0x74]
jmp 0x48eed3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
xor bl, bl
jmp 0x48f03c
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0040a5c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6ca5
mov esp, ebp
pop ebp
ret 4