Function at 0x414ab0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
push edi
mov esi, eax
mov eax, 0x4af984
call fcn.00499b88
mov word [ebp - 0x44], 8
mov word [ebp - 0x44], 8
mov word [ebp - 0x44], 0x14
xor ebx, ebx
mov edx, 0x4aed65
lea eax, [ebp - 4]
call fcn.004a4ab8
inc dword [ebp - 0x38]
lea edx, [ebp - 4]
lea edi, [esi + 0x450]
mov eax, edi
call fcn.004a4e3c
test eax, eax
lea eax, [ebp - 4]
setne dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x38]
call fcn.004a4bd4
pop ecx
test cl, cl
jne 0x414e07
mov word [ebp - 0x44], 0x20
mov edx, 0x4aed6c
lea eax, [ebp - 8]
call fcn.004a4ab8
inc dword [ebp - 0x38]
lea edx, [ebp - 8]
mov eax, edi
call fcn.004a4e3c
test eax, eax
lea eax, [ebp - 8]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x38]
call fcn.004a4bd4
pop ecx
test cl, cl
jne 0x414e07
mov word [ebp - 0x44], 0x2c
mov edx, 0x4aed74
lea eax, [ebp - 0xc]
call fcn.004a4ab8
inc dword [ebp - 0x38]
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.004a4e3c
test eax, eax
lea eax, [ebp - 0xc]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x38]
call fcn.004a4bd4
pop ecx
test cl, cl
je 0x414c11
push 0x4aed7b
lea edi, [esi + 0x464]
mov ecx, dword [edi]
test ecx, ecx
je 0x414bb3
mov ecx, dword [edi]
jmp 0x414bb8
mov ecx, 0x4aed7e
push ecx
lea ecx, [ebp - 0x154]
push 1
push ecx
lea edx, [esi + 0x468]
push 1
push 1
mov ecx, dword [edx]
test ecx, ecx
je 0x414bd6
mov ecx, dword [edx]
jmp 0x414bdb
mov ecx, 0x4aed7d
mov edx, dword [esi + 0x460]
lea eax, [esi + 0x45c]
mov esi, dword [eax]
test esi, esi
je 0x414bf1
mov eax, dword [eax]
jmp 0x414bf6
mov eax, 0x4aed7c
xchg edx, eax
call fcn.0041d3b0
mov word [ebp - 0x44], 8
test eax, eax
jne 0x414e07
mov bl, 1
jmp 0x414e07
mov word [ebp - 0x44], 0x44
mov edx, 0x4aed7f
lea eax, [ebp - 0x20]
call fcn.004a4ab8
inc dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x450]
inc dword [ebp - 0x38]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.004a4c2c
lea eax, [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x38]
lea edx, [esi + 0x464]
call fcn.004a4c2c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x44], 0x38
mov word [ebp - 0x44], 0x50
lea edx, [esi + 0x468]
lea eax, [ebp - 0x14]
call fcn.004a4af0
inc dword [ebp - 0x38]
xor ecx, ecx
mov word [ebp - 0x44], 0x38
mov word [ebp - 0x44], 0x5c
mov dword [ebp - 0x28], ecx
mov eax, dword [0x4b7534]
inc dword [ebp - 0x38]
lea edx, [ebp - 0x28]
mov eax, dword [eax]
call fcn.00446220
lea eax, [ebp - 0x28]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x38]
call fcn.004852e0
dec dword [ebp - 0x38]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x44], 0x38
mov word [ebp - 0x44], 0x68
mov edx, 0x4aed81
lea eax, [ebp - 0x2c]
call fcn.004a4ab8
inc dword [ebp - 0x38]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.004a4e3c
cmp eax, 2
lea eax, [ebp - 0x2c]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x38]
call fcn.004a4bd4
pop ecx
test cl, cl
je 0x414d5b
mov word [ebp - 0x44], 0x74
xor eax, eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
inc dword [ebp - 0x38]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.004a4c2c
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x14]
call fcn.004a4c04
dec dword [ebp - 0x38]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x44], 0x80
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call fcn.004852e0
mov word [ebp - 0x44], 0x38
mov eax, dword [ebp - 0x1c]
call fcn.004851fc
test al, al
jne 0x414d8e
mov eax, dword [ebp - 0x1c]
call fcn.0048547c
push 0
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x414d9c
mov ecx, dword [ebp - 0x14]
jmp 0x414da1
mov ecx, 0x4aed84
push ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x414dae
mov edx, dword [ebp - 0x10]
jmp 0x414db3
mov edx, 0x4aed83
push edx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
lea eax, [ebp - 0x1c]
setne bl
and ebx, 1
mov edx, 2
dec dword [ebp - 0x38]
call fcn.004a4bd4
dec dword [ebp - 0x38]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x38]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x44], 8
mov eax, ebx
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
jmp 0x414e35
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret