Function at 0x4317a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc34
push ebx
mov ebx, dword [esp + 0xc3c]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
je 0x431a57
cmp dword [esp + 0xc4c], ebp
je 0x431a57
cmp dword [esp + 0xc50], ebp
je 0x431a57
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x424]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
lea ecx, [esp + 0x428]
push str.Extensions
push ecx
push str._sKBrowserinstall_s_s_
lea edx, [esp + 0x24]
push 0x103
push edx
call esi
push ebp
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.004331b0
lea ecx, [esp + 0x38]
push ecx
call fcn.004338f0
mov eax, dword [esp + 0xc74]
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.004cfdd0
add esp, 0x30
test eax, eax
je 0x431a57
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bp
rep stosd dword es:[edi], eax
push 0x4eb4bc
lea ecx, [esp + 0x18]
push ebx
push ecx
push str._s_s._s
lea edx, [esp + 0x22c]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x234]
add esp, 0x18
test eax, eax
je 0x4318ca
lea ecx, [esp + 0x21c]
push ebp
push ecx
call fcn.00433030
add esp, 8
test eax, eax
jne 0x4318ec
push 0x4eb4b4
lea edx, [esp + 0x18]
push ebx
push edx
push str._s_s._s
lea eax, [esp + 0x22c]
push 0x103
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0x21c]
test ecx, ecx
je 0x431a57
lea edx, [esp + 0x21c]
push ebp
push edx
call fcn.00433030
add esp, 8
test eax, eax
je 0x431a57
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
push str.Count
push str.UpdateExt
call fcn.0040ba60
mov ecx, dword [esp + 0x1c]
inc ecx
push ecx
push str.Count
push str.UpdateExt
call fcn.0040bb40
mov dx, word [0x503fd0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x84e]
mov word [esp + 0x84c], dx
add esp, 0x18
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x834]
push eax
push str.Name_d
push 0x103
push ecx
call esi
push 0xffffffffffffffff
lea edx, [esp + 0x848]
push ebx
push edx
push str.UpdateExt
call fcn.0040ba30
mov ax, word [0x503fd0]
mov ecx, 0x81
mov word [esp + 0x64c], ax
xor eax, eax
lea edi, [esp + 0x64e]
add esp, 0x20
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x62c]
push ecx
push str.File_d
push 0x103
push edx
stosw word es:[edi], ax
call esi
mov eax, dword [esp + 0xc5c]
push 0xffffffffffffffff
lea ecx, [esp + 0x640]
push eax
push ecx
push str.UpdateExt
call fcn.0040ba30
mov dx, word [0x503fd0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa5e]
mov word [esp + 0xa5c], dx
add esp, 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xa3c]
push eax
push str.Version_d
push 0x103
push ecx
call esi
mov edx, dword [esp + 0xc60]
push 0xffffffffffffffff
lea eax, [esp + 0xa50]
push edx
push eax
push str.UpdateExt
call fcn.0040ba30
add esp, 0x20
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc34
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc34
ret