Function at 0x430f83
Capabilities:
Create directory
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x44a280]
xor eax, ebp
mov dword [ebp - 4], eax
push str.upgrade.exe
push 0x455380
call fcn.0042e34f
pop ecx
pop ecx
test eax, eax
jne 0x430fb7
call fcn.0043126a
xor eax, eax
jmp 0x43125e
call fcn.004318c4
cmp eax, 1
je 0x430fb0
cmp eax, 0xffffffff
jne 0x430fcd
or eax, eax
jmp 0x43125e
push ebx
xor edx, edx
mov ecx, str.Installing_agent...
call fcn.00431daf
lea eax, [ebp - 0x20c]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x431027
mov ecx, str.install:_Couldnt_obtain_Program_Files_path
call fcn.00431ce0
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x431027
mov ecx, str.install:_Couldnt_obtain_Windows_path
call fcn.00431ce0
mov eax, dword [0x44d750]
mov dword [ebp - 0x20c], eax
mov edx, str._ruon.
push esi
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x43102f
push edi
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x431040
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [0x452408]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x43105e
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43106e
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov edx, 0x44d75c
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x43108b
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43109b
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x20c]
and ecx, 3
push 0x4554a0
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0042e34f
pop ecx
pop ecx
test eax, eax
jne 0x431134
xor edx, edx
mov ecx, str.install:_File_already_in_place__no_copy_neccessary_
call fcn.00431daf
mov edx, dword [0x452408]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4310dc
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4310ec
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov edx, 0x44d794
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x431109
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x431119
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x431250
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx + 0x4554a0]
mov byte [ebp + ebx - 0x414], al
inc ebx
test al, al
jne 0x431142
mov edx, 0x455380
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x43115b
lea edi, [ebp - 0x414]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43116b
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [0x452408]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x431189
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x431199
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov edx, 0x44d79c
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4311b6
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4311c6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x414]
call fcn.00431c12
test eax, eax
je 0x431228
xor edx, edx
mov ecx, str.install:_copy_file_failed
call fcn.00431daf
xor edx, edx
lea ecx, [ebp - 0x414]
call fcn.00431daf
xor edx, edx
mov ecx, 0x44d7c0
call fcn.00431daf
xor edx, edx
lea ecx, [ebp - 0x20c]
call fcn.00431daf
or eax, 0xffffffff
jmp 0x43125b
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x814]
push str.install:_File_copied_to___s_
push eax
call fcn.0041b6cd
add esp, 0xc
xor edx, edx
lea ecx, [ebp - 0x814]
call fcn.00431daf
lea ecx, [ebp - 0x20c]
call fcn.004317b7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b6be
leave
ret