Function at 0x403b80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4722c6
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x498068]
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 esi, edx
mov edi, ecx
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], ebx
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403c36
cmp dword [0x49ad28], 2
jg 0x403c16
push 2
push 0x21a
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
call fcn.00425970
mov dword [ebp - 4], ebx
mov ebx, 1
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x74], ebx
jb 0x403c00
mov esi, dword [esi]
lea ecx, [eax + 8]
mov edx, str.error__dir_not_existed:
call fcn.00407b40
mov edx, esi
mov ecx, eax
call fcn.004263f0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x40447b
lea ecx, [ebp - 0x12c]
call fcn.00425b00
jmp 0x40447b
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00452a30
push edi
lea eax, [ebp - 0x50]
push 0x484a20
push eax
call fcn.00407df0
add esp, 0x18
lea ecx, [ebp - 0x68]
mov edx, esi
call fcn.00403a50
mov dword [ebp - 4], 1
cmp dword [ebp - 0x58], 0
jne 0x403d1a
cmp dword [0x49ad28], 2
jg 0x403ca9
push 2
push 0x223
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
call fcn.00425970
mov byte [ebp - 4], 2
lea ecx, [eax + 8]
mov ebx, 2
mov edx, str.error:_adding_empty_filepath.
mov dword [ebp - 0x74], ebx
call fcn.00407b40
mov dword [ebp - 4], 1
test bl, 2
je 0x403cc0
lea ecx, [ebp - 0x12c]
call fcn.00425b00
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x403d01
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403cf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40449a
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x404474
cmp dword [0x49ad28], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jg 0x403d95
sub esp, 8
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x124]
call fcn.004235a0
mov dword [ebp - 0x88], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
mov dword [ebp - 0x84], 0x226
call edi
push 0x226
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x80], eax
call fcn.00426000
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x124]
mov ebx, 4
mov edx, str.id:
mov dword [ebp - 0x74], ebx
call fcn.00407b40
lea edx, [ebp - 0x50]
mov ecx, eax
call fcn.004263f0
mov dword [ebp - 4], 1
test bl, 4
je 0x403db2
and ebx, 0xfffffffb
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x74], ebx
call fcn.00425b00
cmp dword [0x49ad28], 0
jg 0x403e2c
sub esp, 8
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x124]
call fcn.004235a0
mov dword [ebp - 0x88], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
mov dword [ebp - 0x84], 0x227
call edi
push 0x227
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x80], eax
call fcn.00426000
mov byte [ebp - 4], 8
or ebx, 8
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x74], ebx
jb 0x403e13
mov esi, dword [esi]
mov edx, str.in:
lea ecx, [ebp - 0x124]
call fcn.00407b40
mov edx, esi
mov ecx, eax
call fcn.004263f0
mov dword [ebp - 4], 1
test bl, 8
je 0x403e49
and ebx, 0xfffffff7
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x74], ebx
call fcn.00425b00
cmp dword [0x49ad28], 0
jg 0x403ec6
sub esp, 8
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x124]
call fcn.004235a0
mov dword [ebp - 0x88], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
mov dword [ebp - 0x84], 0x228
call edi
push 0x228
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x80], eax
call fcn.00426000
mov byte [ebp - 4], 9
lea esi, [ebp - 0x68]
or ebx, 0x10
lea ecx, [ebp - 0x124]
cmp dword [ebp - 0x54], 8
mov edx, str.nor:
mov dword [ebp - 0x74], ebx
cmovae esi, dword [ebp - 0x68]
call fcn.00407b40
mov edx, esi
mov ecx, eax
call fcn.004263f0
mov dword [ebp - 4], 1
test bl, 0x10
je 0x403ee3
and ebx, 0xffffffef
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x74], ebx
call fcn.00425b00
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
push 0xf003f
push str.SYSTEMCurrentControlSetServicesQPCore
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.00424ae0
mov dword [ebp - 0x78], eax
test eax, eax
je 0x40400f
cmp dword [0x49ad28], 2
jg 0x403f70
push 2
push 0x22e
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
call fcn.00425970
mov esi, eax
mov byte [ebp - 4], 0xb
or ebx, 0x20
mov dword [ebp - 0x74], ebx
call edi
push eax
push dword [ebp - 0x78]
lea ecx, [esi + 8]
mov edx, str.reg_key_could_not_be_opened:
call fcn.00407b40
mov ecx, eax
call fcn.00405c70
mov edx, 0x484ab4
mov ecx, eax
call fcn.00407b40
mov ecx, eax
call fcn.00405ad0
mov dword [ebp - 4], 0xa
test bl, 0x20
je 0x403f87
lea ecx, [ebp - 0x12c]
call fcn.00425b00
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x403fa0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x403fb5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x403ff6
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403fec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40449f
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x404474
push 0xf003f
push ecx
lea ecx, [ebp - 0x70]
call fcn.00424bc0
mov esi, eax
test esi, esi
je 0x404286
cmp dword [0x49ad28], 2
jg 0x4040be
sub esp, 8
mov dword [ebp - 0x12c], 2
lea ecx, [ebp - 0x124]
call fcn.004235a0
mov dword [ebp - 0x88], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
mov dword [ebp - 0x84], 0x235
call edi
push 0x235
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x80], eax
call fcn.00426000
mov byte [ebp - 4], 0x10
or ebx, 0x40
mov dword [ebp - 0x74], ebx
call edi
push eax
push esi
mov edx, str.reg_subkey_could_not_be_opened:
lea ecx, [ebp - 0x124]
call fcn.00407b40
mov ecx, eax
call fcn.00405c70
mov edx, 0x484ab4
mov ecx, eax
call fcn.00407b40
mov ecx, eax
call fcn.00405ad0
mov edx, str.._subkey_will_be_created.
mov ecx, eax
call fcn.00407b40
mov dword [ebp - 4], 0xa
test bl, 0x40
je 0x4040db
and ebx, 0xffffffbf
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x74], ebx
call fcn.00425b00
cmp esi, 2
jne 0x4041fe
push 0xf003f
lea eax, [ebp - 0x78]
push eax
push str.SYSTEMCurrentControlSetServicesQPCoreProductInfo
push ecx
lea ecx, [ebp - 0x70]
call fcn.004249f0
mov dword [ebp - 0x78], eax
test eax, eax
je 0x404286
cmp dword [0x49ad28], esi
jg 0x404160
push esi
push 0x23b
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
call fcn.00425970
mov esi, eax
mov byte [ebp - 4], 0x11
or ebx, 0x80
mov dword [ebp - 0x74], ebx
call edi
push eax
push dword [ebp - 0x78]
lea ecx, [esi + 8]
mov edx, str.reg_subkey_could_not_be_created:
call fcn.00407b40
mov ecx, eax
call fcn.00405c70
mov edx, 0x484ab4
mov ecx, eax
call fcn.00407b40
mov ecx, eax
call fcn.00405ad0
mov dword [ebp - 4], 0xa
test bl, bl
jns 0x404176
lea ecx, [ebp - 0x12c]
call fcn.00425b00
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40418f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4041a4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0x12
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x4041e5
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4041db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044a4
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x404474
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x404217
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40422c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0x16
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x40426d
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404263
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044a9
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x404474
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
cmovae edx, dword [ebp - 0x68]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404296
sub ecx, esi
sar ecx, 1
push ecx
lea eax, [ecx*2 + 2]
push eax
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x70]
call fcn.00425000
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4042d5
push eax
call esi
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4042ec
push eax
call edi
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x78], 0
je 0x4043f6
cmp dword [0x49ad28], 2
jg 0x40435c
push 2
push 0x24a
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetuputil_serviceqd_helper.cpp
lea ecx, [ebp - 0x12c]
call fcn.00425970
mov esi, eax
mov byte [ebp - 4], 0x1a
or ebx, 0x100
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x78]
lea ecx, [esi + 8]
mov edx, str.reg_write_value_failed:
call fcn.00407b40
mov ecx, eax
call fcn.00405c70
mov edx, 0x484ab4
mov ecx, eax
call fcn.00407b40
mov ecx, eax
call fcn.00405ad0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xa
test ebx, 0x100
je 0x404376
lea ecx, [ebp - 0x12c]
call fcn.00425b00
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40438b
push eax
call esi
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40439c
push eax
call edi
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0x1b
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x4043dd
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4043d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044ae
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x404474
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], 1
test eax, eax
je 0x404412
push eax
call esi
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x404423
push eax
call edi
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0x1f
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x404460
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404456
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044b3
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
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.00450164
mov esp, ebp
pop ebp
ret
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
int3