Function at 0x431250
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558bb1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1cc
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x4c]
call fcn.00430b50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x3c], 0
jne 0x4312cd
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 0x5e4c28
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
call fcn.00417c00
jmp 0x4312d5
lea edx, [ebp - 0x4c]
call fcn.00430ed0
lea ecx, [ebp - 0x4c]
call fcn.00417680
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x4316a7
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x61f0d0]
cmp eax, dword [ecx + 8]
jle 0x431333
push 0x61f0d0
call fcn.0051028a
add esp, 4
cmp dword [0x61f0d0], 0xffffffff
jne 0x431333
push 0x56b390
call fcn.00510130
add esp, 4
push 0x61f0d0
call fcn.00510240
add esp, 4
cmp dword [0x60beb4], 8
lea ecx, [ebp - 0x34]
push dword [0x60beb0]
mov edx, dword [ebp - 0x24]
mov eax, 0x60bea0
cmovae eax, dword [0x60bea0]
cmp dword [ebp - 0x20], 8
push eax
cmovae ecx, dword [ebp - 0x34]
push ecx
call fcn.0043c6f0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4316a7
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x431378
mov esi, dword [esi]
push ecx
push esi
push dword [0x60beb0]
lea ecx, [ebp - 0x34]
push eax
call fcn.0043a950
call fcn.0045b3b0
push 3
lea ecx, [ebp - 0x1d8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.c:jenkinsworkspaceebAdvisor_WABinary_release_4.1.1_srcincludesInstallHelper.h
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x18], 0x72
call fcn.00418540
mov edx, str.Browser_Command:
lea ecx, [ebp - 0x1d8]
call fcn.004185a0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1d8]
call fcn.0041c9b0
lea ecx, [ebp - 0x180]
call fcn.00459e90
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push 0
push 0
push 0x5eeb28
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x4314ac
call fcn.0045b3b0
push 2
lea ecx, [ebp - 0x1d8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.c:jenkinsworkspaceebAdvisor_WABinary_release_4.1.1_srcincludesInstallHelper.h
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x18], 0x7e
call fcn.00418540
mov edx, str.SHGetKnownFolderPath_failed:
lea ecx, [ebp - 0x1d8]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1d8]
call fcn.0043d580
lea ecx, [ebp - 0x180]
call fcn.00459e90
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x18], esi
mov ecx, esi
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4314d3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00417c00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
push 0x5e4c28
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0
call fcn.00417c00
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], 0x5efcac
call fcn.0041b1f0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xfc]
call fcn.0041b1f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041b1f0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 0xcc], 0
call fcn.00430ad0
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0x5efb04
xor eax, eax
mov dword [ebp - 0x74], 0xffffffff
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea ecx, [ebp - 0x138]
call fcn.00417680
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.00417680
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
push str.S_1_16_8192
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], 0
movups xmmword [ebp - 0x138], xmm0
call fcn.00417c00
lea ecx, [ebp - 0x6c]
call fcn.00417680
movups xmm0, xmmword [ebp - 0x138]
xor eax, eax
lea ecx, [ebp - 0x138]
mov word [ebp - 0x138], ax
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [ebp - 0x128]
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
call fcn.00417680
lea ecx, [ebp - 0x118]
call fcn.0046a840
lea ecx, [ebp - 0x6c]
mov byte [ebp - 0x11d], al
call fcn.00417680
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x431668
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x431679
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xe4]
call fcn.00417680
lea ecx, [ebp - 0xfc]
call fcn.00417680
lea ecx, [ebp - 0x114]
call fcn.00417680
test esi, esi
je 0x4316ae
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4316ae
mov byte [ebp - 0x11d], 0
lea ecx, [ebp - 0x34]
call fcn.00417680
mov al, byte [ebp - 0x11d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret