Function at 0x10018840
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096b83
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x100c6394]
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
push 0x208
xor esi, esi
lea eax, [ebp - 0x27c]
push esi
push eax
call fcn.100569b0
add esp, 0xc
mov dword [ebp - 0x32c], 1
xor eax, eax
mov dword [ebp - 0x328], 0x208
lea ecx, [ebp - 0x30c]
mov dword [ebp - 0x2fc], esi
mov dword [ebp - 0x2f8], 7
push 0x58
push str.QJjheDPGgIf_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLvpUFOyKbSMos0KXqHYZtMnnvuZnUnrUg
mov word [ebp - 0x30c], ax
call fcn.1000aaa0
lea eax, [ebp - 0x30c]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.100080d0
add esp, 8
mov edx, dword [ebp - 0x2f8]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x10018921
mov ecx, dword [ebp - 0x30c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018917
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f60
push edx
push ecx
call fcn.1004cc8b
add esp, 8
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x2fc], 0
push ecx
xor eax, eax
mov dword [ebp - 0x2f8], 7
cmp dword [ebp - 0x310], 8
lea ecx, [ebp - 0x27c]
push ecx
mov word [ebp - 0x30c], ax
lea ecx, [ebp - 0x32c]
push ecx
lea eax, [ebp - 0x324]
cmovae eax, dword [ebp - 0x324]
push str.Path
push eax
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10018ae1
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10018ae1
push 0x2c
xor eax, eax
mov dword [ebp - 0x284], 0
push str.zBA7V40cRFJ8kizTtDAajFCjsHPXPV0I3gaCwIEjLP8
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.1000aaa0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.100080d0
add esp, 8
mov edx, dword [ebp - 0x280]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x10018a22
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018a18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f65
push edx
push ecx
call fcn.1004cc8b
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
lea edx, [ecx + 2]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018a60
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2ac]
call fcn.1000aaa0
cmp dword [ebp - 0x2e0], 8
lea eax, [ebp - 0x2f4]
push dword [ebp - 0x2e4]
cmovae eax, dword [ebp - 0x2f4]
lea ecx, [ebp - 0x2ac]
push eax
mov byte [ebp - 4], 6
call fcn.10019950
cmp dword [ebp - 0x298], 8
lea eax, [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x10018b11
lea ecx, [ebp - 0x2ac]
call fcn.10004de0
lea ecx, [ebp - 0x2f4]
call fcn.10004de0
lea ecx, [ebp - 0x324]
call fcn.10004de0
xor eax, eax
test esi, esi
sete al
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.1004d00a
mov esp, ebp
pop ebp
ret 4
push str.GetWebIdentifyState
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10018acb
call esi
mov dword [ebp - 0x330], eax
call fcn.1003e050
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10018e61
push 0x75
mov dword [ebp - 0x284], ecx
mov byte [ebp - 0x294], cl
lea ecx, [ebp - 0x294]
push str.d:jenkins.jenkinsworkspacelib_commonmodeidentifymodeidentifyldsmodeidentifyldsmodeidentifymodeidentifyex.cpp
mov dword [ebp - 0x280], 0xf
call fcn.1000a9b0
push 3
push 0x1009de28
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
call fcn.1000a9b0
mov byte [ebp - 4], 8
call fcn.1003e050
push 1
push 2
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x334], eax
call fcn.10015030
push 0xffffffffffffffff
push 0x1009deec
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 9
call fcn.1000bd10
push 0xffffffffffffffff
push 0x1009def0
lea ecx, [ebp - 0x294]
mov ebx, eax
call fcn.1000bd10
push 0x64
mov edi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.100569b0
add esp, 0xc
cmp edi, 0xffffffff
je 0x10018ceb
lea eax, [edi - 1]
cmp ebx, eax
jae 0x10018ceb
mov eax, dword [ebp - 0x284]
lea edx, [ebx + 1]
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
cmp eax, edx
jb 0x10018f6a
sub edi, ebx
sub eax, edx
lea ecx, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x280], 0x10
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
push ecx
add eax, edx
lea ecx, [ebp - 0x2c4]
push eax
call fcn.1000a9b0
cmp dword [ebp - 0x2b0], 0x10
lea eax, [ebp - 0x2c4]
cmovae eax, dword [ebp - 0x2c4]
push eax
push 0xcf
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.10003980
mov edx, dword [ebp - 0x2b0]
add esp, 0x10
cmp edx, 0x10
jb 0x10018cce
mov ecx, dword [ebp - 0x2c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018cc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f6f
push edx
push ecx
call fcn.1004cc8b
add esp, 8
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
jmp 0x10018d01
push 0xcf
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.10003980
add esp, 0xc
cmp dword [ebp - 0x2c8], 0x10
lea eax, [ebp - 0x2dc]
cmovae eax, dword [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x3cc]
push eax
call fcn.10005560
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x3cc]
push eax
call fcn.10005560
lea eax, [ebp - 0x3cc]
mov byte [ebp - 4], 0xa
push 0x1009eb08
push eax
call fcn.10005560
add esp, 0x18
lea ecx, [ebp - 0x3cc]
push dword [ebp - 0x330]
call fcn.100053b0
lea eax, [ebp - 0x3cc]
push 0x1009eb0c
push eax
call fcn.10005560
lea eax, [ebp - 0x3cc]
push str.ModeIdentifyEx::IsNeedCheckObsProcess
push eax
call fcn.100029c0
lea eax, [ebp - 0x3cc]
push 0x1009eb58
push eax
call fcn.10005560
add esp, 0x18
lea ecx, [ebp - 0x3cc]
push 0xcf
call fcn.10015290
lea eax, [ebp - 0x3cc]
push 0x1009eb5c
push eax
call fcn.10005560
mov ecx, dword [ebp - 0x334]
lea edx, [ebp - 0x3cc]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3cc]
call fcn.10005880
mov edx, dword [ebp - 0x2c8]
cmp edx, 0x10
jb 0x10018e0c
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f74
push edx
push ecx
call fcn.1004cc8b
add esp, 8
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
cmp edx, 0x10
jb 0x10018e61
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f79
push edx
push ecx
call fcn.1004cc8b
add esp, 8
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x10018ea1
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f7e
push edx
push ecx
call fcn.1004cc8b
add esp, 8
mov edx, dword [ebp - 0x2e0]
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
cmp edx, 8
jb 0x10018efe
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018ef4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f83
push edx
push ecx
call fcn.1004cc8b
add esp, 8
mov edx, dword [ebp - 0x310]
xor eax, eax
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 7
mov word [ebp - 0x2f4], ax
cmp edx, 8
jb 0x10018aec
mov ecx, dword [ebp - 0x324]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018f51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f88
push edx
push ecx
call fcn.1004cc8b
add esp, 8
jmp 0x10018aec
call fcn.10059b09
call fcn.10059b09
call fcn.1000a3f0
call fcn.10059b09
call fcn.10059b09
call fcn.10059b09
call fcn.10059b09
call fcn.10059b09
call fcn.10059b09
int3