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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096c93
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x100c7394]
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.10056af0
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 0x10018a61
mov ecx, dword [ebp - 0x30c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018a57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190a0
push edx
push ecx
call fcn.1004cdcb
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 0x10018c21
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10018c21
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 0x10018b62
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018b58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190a5
push edx
push ecx
call fcn.1004cdcb
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 0x10018ba0
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.10019a90
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 0x10018c51
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.1004d14a
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 0x10018c0b
call esi
mov dword [ebp - 0x330], eax
call fcn.1003e190
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10018fa1
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 0x1009ee28
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.1003e190
push 1
push 2
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x334], eax
call fcn.10015030
push 0xffffffffffffffff
push 0x1009eeec
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 9
call fcn.1000bd10
push 0xffffffffffffffff
push 0x1009eef0
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.10056af0
add esp, 0xc
cmp edi, 0xffffffff
je 0x10018e2b
lea eax, [edi - 1]
cmp ebx, eax
jae 0x10018e2b
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 0x100190aa
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 0x10018e0e
mov ecx, dword [ebp - 0x2c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190af
push edx
push ecx
call fcn.1004cdcb
add esp, 8
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
jmp 0x10018e41
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 0x1009fb08
push eax
call fcn.10005560
add esp, 0x18
lea ecx, [ebp - 0x3cc]
push dword [ebp - 0x330]
call fcn.100053b0
lea eax, [ebp - 0x3cc]
push 0x1009fb0c
push eax
call fcn.10005560
lea eax, [ebp - 0x3cc]
push str.ModeIdentifyEx::IsNeedCheckObsProcess
push eax
call fcn.100029c0
lea eax, [ebp - 0x3cc]
push 0x1009fb58
push eax
call fcn.10005560
add esp, 0x18
lea ecx, [ebp - 0x3cc]
push 0xcf
call fcn.10015290
lea eax, [ebp - 0x3cc]
push 0x1009fb5c
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 0x10018f4c
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018f42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190b4
push edx
push ecx
call fcn.1004cdcb
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 0x10018fa1
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018f97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190b9
push edx
push ecx
call fcn.1004cdcb
add esp, 8
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x10018fe1
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190be
push edx
push ecx
call fcn.1004cdcb
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 0x1001903e
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190c3
push edx
push ecx
call fcn.1004cdcb
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 0x10018c2c
mov ecx, dword [ebp - 0x324]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019091
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190c8
push edx
push ecx
call fcn.1004cdcb
add esp, 8
jmp 0x10018c2c
call fcn.10059c49
call fcn.10059c49
call fcn.1000a3f0
call fcn.10059c49
call fcn.10059c49
call fcn.10059c49
call fcn.10059c49
call fcn.10059c49
call fcn.10059c49
int3