Function at 0x483080
Capabilities:
Copy file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fbec
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x5bc684]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x96c], eax
cmp ebx, esi
je 0x4836c2
cmp eax, esi
je 0x4836c2
mov edi, dword [ebp + 0x10]
cmp edi, esi
je 0x4836c2
push 0x103
lea eax, [ebp - 0x113]
push esi
push eax
mov byte [ebp - 0x114], 0
call fcn.004ff6f0
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x964], eax
cmp dword [0x5c19bc], esi
je 0x483212
mov edi, dword [ebp - 0x96c]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push edi
call fcn.00408000
mov edx, dword [0x5c0a44]
add esp, 0xc
push edx
lea ecx, [ebp - 0x960]
call fcn.0040bca0
mov dword [ebp - 4], esi
push edi
lea ecx, [ebp - 0x960]
call fcn.0047ca90
xor eax, eax
jmp 0x483150
mov cl, byte [ebp + eax - 0x114]
mov byte [ebp + eax - 0x83c], cl
inc eax
test cl, cl
jne 0x483150
push esi
push 0x5c0b4c
lea ecx, [ebp - 0x960]
call fcn.004c3750
mov dword [ebp - 0x964], eax
cmp eax, 1
je 0x483191
call fcn.00407df0
mov dword [ebp - 0x964], eax
cmp eax, 1
je 0x483163
jmp 0x4831f5
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0x400
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x6904], 1
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0x400
mov ecx, ebx
call eax
cmp dword [ebp - 0x738], esi
je 0x4831d8
push 1
push esi
push 1
lea ecx, [ebp - 0x114]
push ecx
push edi
push ebx
call fcn.0040a870
add esp, 0x18
mov eax, dword [ebp - 0x734]
cmp eax, esi
je 0x4831ec
push eax
push ebx
call fcn.00407f60
add esp, 8
push edi
call fcn.00406b00
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x960]
call fcn.004c32f0
mov eax, dword [ebp - 0x964]
jmp 0x4836c7
cmp dword [ebp + 0x14], eax
jne 0x4836ba
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x6904], eax
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x6908], eax
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x6924], eax
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x6910], esi
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x6914], esi
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x6918], esi
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x691c], esi
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x9be8], esi
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x6928], esi
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x692c], esi
mov ecx, dword [ebx + 0x60]
mov edx, dword [0x5c1494]
mov dword [ecx + 0x6930], edx
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x6950], esi
mov ecx, dword [ebx + 0x60]
mov byte [ecx + 0x6954], 0
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x9bec], esi
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x9bf0], esi
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0x400
mov ecx, ebx
call eax
lea edx, [ebp - 0x114]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4832c1
push 0x103
mov byte [ebp - 0x72c], cl
lea ecx, [ebp - 0x72b]
push esi
push ecx
call fcn.004ff6f0
push esi
lea edx, [ebp - 0x72c]
push 0x104
push edx
call fcn.00409330
mov edi, eax
mov eax, dword [0x5c0a44]
add esp, 0x18
push eax
lea ecx, [ebp - 0x864]
call fcn.004306c0
mov dword [ebp - 4], 2
xor eax, eax
jmp 0x483320
mov cl, byte [ebp + eax - 0x114]
mov byte [ebp + eax - 0x844], cl
inc eax
test cl, cl
jne 0x483320
xor ecx, ecx
cmp edi, esi
setge cl
mov dword [ebp - 0x740], ebx
mov dword [ebp - 0x734], ecx
jmp 0x483350
push esi
push 0x5c0b4c
lea ecx, [ebp - 0x864]
call fcn.004c3750
mov dword [ebp - 0x964], eax
cmp eax, 1
je 0x483389
cmp dword [ebp - 0x73c], esi
jne 0x48337f
call fcn.00407df0
mov dword [ebp - 0x964], eax
cmp eax, 1
je 0x483350
jmp 0x4836a8
mov edx, dword [ebx + 0x60]
mov eax, dword [ebp - 0x730]
mov dword [edx + 0x6924], eax
mov ecx, dword [ebx + 0x60]
mov edx, dword [0x5c1494]
mov dword [ecx + 0x6930], edx
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x6950], esi
mov ecx, dword [ebx + 0x60]
mov byte [ecx + 0x6954], 0
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x6908], 1
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x6910], esi
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x6914], esi
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x6918], esi
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x691c], esi
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x9be8], esi
mov edx, dword [ebx + 0x60]
mov dword [edx + 0x6928], esi
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x692c], esi
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0x403
mov ecx, ebx
call eax
push 0x103
lea ecx, [ebp - 0x627]
push esi
push ecx
mov byte [ebp - 0x628], 0
call fcn.004ff6f0
add esp, 0xc
lea edx, [ebp - 0x628]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x103
lea eax, [ebp - 0x217]
push esi
push eax
mov byte [ebp - 0x218], 0
call fcn.004ff6f0
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax - 0x114]
mov byte [ebp + eax - 0x218], cl
inc eax
test cl, cl
jne 0x483460
lea eax, [ebp - 0x218]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483480
sub eax, edx
dec eax
cmp eax, 1
jle 0x4834b1
nop
mov cl, byte [ebp + eax - 0x218]
cmp cl, 0x5c
je 0x4834a9
cmp cl, 0x2f
je 0x4834a9
dec eax
cmp eax, 1
jg 0x483490
jmp 0x4834b1
mov byte [ebp + eax - 0x217], 0
push 0x103
lea ecx, [ebp - 0x41f]
push esi
push ecx
mov byte [ebp - 0x420], 0
call fcn.004ff6f0
push 0x103
lea edx, [ebp - 0x31b]
push esi
push edx
mov byte [ebp - 0x31c], 0
call fcn.004ff6f0
add esp, 0x18
mov dword [ebp - 0x968], esi
jmp 0x4834f2
xor esi, esi
xor eax, eax
jmp 0x483500
mov cl, byte [ebp + eax - 0x628]
mov byte [ebp + eax - 0x420], cl
inc eax
test cl, cl
jne 0x483500
lea eax, [ebp - 0x420]
push eax
call fcn.004bf2e0
mov ecx, dword [ebp - 0x968]
mov eax, dword [ecx + 0x5bba9c]
add esp, 4
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483530
lea edi, [ebp - 0x420]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x483540
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
lea ebx, [ebx]
mov cl, byte [ebp + eax - 0x218]
mov byte [ebp + eax - 0x31c], cl
inc eax
test cl, cl
jne 0x483560
mov edx, dword [ebp - 0x968]
mov eax, dword [edx + 0x5bba8c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483581
lea edi, [ebp - 0x31c]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x483591
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 1
lea eax, [ebp - 0x31c]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [ebp - 0x31c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x968]
add eax, 4
mov dword [ebp - 0x968], eax
cmp eax, 8
jl 0x4834f0
lea ecx, [ebp - 0x218]
push ebx
push ecx
call fcn.00481d70
add esp, 8
test eax, eax
je 0x4836a8
push 0x103
lea edx, [ebp - 0x523]
push 0
push edx
mov byte [ebp - 0x524], 0
call fcn.004ff6f0
add esp, 0xc
xor eax, eax
lea ebx, [ebx]
mov cl, byte [ebp + eax - 0x218]
mov byte [ebp + eax - 0x524], cl
inc eax
test cl, cl
jne 0x483630
lea eax, [ebp - 0x524]
push eax
call fcn.004bf2e0
mov eax, dword [str.eb702setup_stub.bin]
add esp, 4
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x483660
lea edi, [ebp - 0x524]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x483670
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x96c]
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x524]
push ecx
push 0
lea edx, [ebp - 0x114]
push edx
push eax
push ebx
call fcn.0040a870
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.004c32f0
mov eax, dword [ebp - 0x964]
jmp 0x4836c7
mov eax, 2
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.004fe1f5
mov esp, ebp
pop ebp
ret