Function at 0x10026b60
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e239
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100a6204]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x210
push 0
push eax
mov ebx, 1
call fcn.10051fb0
add esp, 0xc
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
mov word [ebp - 0x238], ax
call fcn.10011780
mov dword [ebp - 4], 0
mov esi, dword [str.8FA908C0_EAC5_47F9_8074_FFC5EBBEB255]
call fcn.10008280
mov ecx, eax
test ecx, ecx
je 0x10027089
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x254]
push esi
call fcn.100074e0
test al, al
jne 0x10026c5c
test esi, esi
jne 0x10026c34
xor ecx, ecx
jmp 0x10026c4f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026c40
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x254]
call fcn.1000f980
mov byte [ebp - 4], 2
mov esi, dword [str.yTX0Nc271ng3wq4imjZg]
call fcn.10008280
mov ecx, eax
test ecx, ecx
je 0x10027093
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
push esi
call fcn.100074e0
test al, al
jne 0x10026cc0
test esi, esi
jne 0x10026c9f
xor ecx, ecx
jmp 0x10026cb3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026ca4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x258]
call fcn.1000f980
mov byte [ebp - 4], 4
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1002ee20
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026d20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x250]
call fcn.10011780
mov byte [ebp - 4], 7
or esi, 0xffffffff
mov edx, dword [ebp - 0x268]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026d60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, esi
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026d81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10026da0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
push eax
call fcn.10024270
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x254]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmovae eax, dword [ebp - 0x238]
push ecx
push 0x20219
push 0
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x254], 0
call esi
test eax, eax
jne 0x10026e44
mov esi, dword [ebp - 0x254]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], 0x200
jmp 0x10026e9c
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x254]
push ecx
push 0x20119
lea eax, [ebp - 0x238]
mov dword [ebp - 0x254], 0
cmovae eax, dword [ebp - 0x238]
push 0
push eax
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x1002703c
mov esi, dword [ebp - 0x254]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], 0x100
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x210
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push str.Path
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10026eef
mov eax, dword [ebp - 0x268]
cmp eax, 1
je 0x10026edd
cmp eax, 2
jne 0x10026eef
cmp dword [ebp - 0x254], 0
jne 0x10026eef
xor eax, eax
mov word [ebp - 0x220], ax
push str.SoftMgr_somextrainfo.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10026f34
mov byte [ebp - 4], 0xb
test esi, esi
je 0x10027040
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x264], 0
jmp 0x10027040
lea eax, [ebp - 0x220]
push eax
push 0
push str.ItemType
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
cmp eax, 2
setne bl
mov byte [ebp - 4], 0xb
test esi, esi
je 0x10026f6b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x10026fb9
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10026faf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002709d
push edx
push ecx
call fcn.10048fc3
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x1002701d
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10027013
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100270a2
push edx
push ecx
call fcn.10048fc3
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
jmp 0x1002706b
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x260], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.100053f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.100053f0
mov eax, ebx
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.10049342
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100074c0
push 0x80004005
call fcn.100074c0
call fcn.100550e9
call fcn.100550e9
int3