Function at 0x10f3100
Capabilities:
Check os version
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11416bb
mov eax, dword fs:[0]
push eax
sub esp, 0xcb8
mov eax, dword [0x115f604]
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 eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc50], ecx
mov ecx, 0x1161d94
call edx
add eax, 0x10
mov dword [ebp - 0xc40], eax
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x117]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc60], ebx
mov dword [ebp - 0xc3c], ebx
mov byte [ebp - 0x118], bl
call fcn.01084910
push 0x110
lea ecx, [ebp - 0xc34]
push ebx
push ecx
mov dword [ebp - 0xc38], ebx
call fcn.01084910
xor esi, esi
add esp, 0x18
mov dword [ebp - 0xc6c], esi
mov dword [ebp - 0xc64], ebx
mov dword [ebp - 0xc58], ebx
mov dword [ebp - 0xc54], ebx
mov edx, dword [0x1161d94]
xor eax, eax
mov dword [ebp - 0xc78], eax
mov dword [ebp - 0xc74], eax
mov dword [ebp - 0xc70], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 4
call eax
add eax, 0x10
mov dword [ebp - 0xc68], eax
lea ecx, [ebp - 0xc5c]
push ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0xc88], ebx
mov dword [ebp - 0xc84], 0x1045524
mov dword [ebp - 0xc80], 0x104551c
mov dword [ebp - 0xc94], 0x1045510
mov dword [ebp - 0xc90], 0x1045504
mov dword [ebp - 0xc8c], 0x10454f8
mov dword [ebp - 0xca0], 0xb
mov dword [ebp - 0xc9c], 0xa
mov dword [ebp - 0xc98], 8
mov dword [ebp - 0xc3c], 0x104
call fcn.0112deb0
mov eax, dword [eax]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0xc44]
push edx
push 1
push ebx
push 0x1045468
push eax
mov dword [ebp - 0xc44], ebx
call edi
cmp eax, ebx
jne 0x10f327b
mov esi, dword [ebp - 0xc44]
mov dword [ebp - 0xc6c], esi
mov eax, dword [ebp - 0xc5c]
cmp eax, ebx
je 0x10f328c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc44]
push eax
push 1
push ebx
push 0x1045468
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc44], ebx
call edi
cmp eax, ebx
jne 0x10f32b8
mov ecx, dword [ebp - 0xc44]
mov dword [ebp - 0xc64], ecx
lea edx, [ebp - 0xc5c]
push edx
call fcn.0112deb0
mov eax, dword [eax]
lea ecx, [ebp - 0xc44]
push ecx
push 1
push ebx
push 0x10453d0
push eax
mov dword [ebp - 0xc44], ebx
call edi
cmp eax, ebx
jne 0x10f32ee
mov edx, dword [ebp - 0xc44]
mov dword [ebp - 0xc58], edx
mov eax, dword [ebp - 0xc5c]
cmp eax, ebx
je 0x10f32ff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc44]
push eax
push 1
push ebx
push 0x10453d0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc44], ebx
call edi
cmp eax, ebx
jne 0x10f332b
mov ecx, dword [ebp - 0xc44]
mov dword [ebp - 0xc54], ecx
mov edx, dword [ebp - 0xc64]
mov eax, dword [ebp - 0xc54]
mov ecx, dword [ebp - 0xc58]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc78], esi
mov dword [ebp - 0xc7c], edx
mov dword [ebp - 0xc74], eax
mov dword [ebp - 0xc70], ecx
xor esi, esi
cmp dword [ebp - 0xc58], 0xffffffff
je 0x10f33b3
lea edx, [ebp - 0xc3c]
push edx
mov edx, dword [ebp + esi*4 - 0xc88]
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0xc58]
lea ecx, [ebp - 0xc60]
push ecx
push ebx
push edx
push eax
mov dword [ebp - 0xc3c], 0x104
call edi
test eax, eax
jne 0x10f33b3
mov eax, dword [ebp - 0xc3c]
cmp eax, 1
jbe 0x10f33b3
add eax, 0xffffffff
push eax
lea ecx, [ebp - 0x118]
push ecx
jmp 0x10f3419
cmp dword [ebp - 0xc54], 0xffffffff
je 0x10f3409
lea edx, [ebp - 0xc3c]
push edx
mov edx, dword [ebp + esi*4 - 0xc88]
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0xc54]
lea ecx, [ebp - 0xc60]
push ecx
push ebx
push edx
push eax
mov dword [ebp - 0xc3c], 0x104
call edi
test eax, eax
jne 0x10f3409
mov eax, dword [ebp - 0xc3c]
cmp eax, 1
jbe 0x10f3409
add eax, 0xffffffff
push eax
lea ecx, [ebp - 0x118]
push ecx
jmp 0x10f3419
mov edx, dword [ebp + esi*4 - 0xca0]
mov eax, dword [ebp + esi*4 - 0xc94]
push edx
push eax
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
cmp esi, ebx
mov eax, 0x10453c8
je 0x10f3432
mov eax, 0x10453c4
push 2
push eax
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
add esi, 1
cmp esi, 3
jl 0x10f335d
mov dword [ebp - 0xc5c], ebx
mov eax, dword [ebp - 0xc64]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x10f364e
lea ecx, [ebp - 0xc44]
push ecx
push 1
push ebx
push 0x10453b0
push eax
mov dword [ebp - 0xc44], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10f364e
mov edi, dword [ebp - 0xc44]
cmp edi, ebx
mov dword [ebp - 0xc5c], edi
je 0x10f364e
xor esi, esi
mov dword [ebp - 0xc48], esi
lea edx, [ebp - 0xc4c]
push edx
mov byte [ebp - 4], 7
call fcn.0112deb0
mov eax, dword [eax]
lea ecx, [ebp - 0xc44]
push ecx
push 1
push ebx
push 0x1045338
push eax
mov dword [ebp - 0xc44], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10f34e2
mov esi, dword [ebp - 0xc44]
mov dword [ebp - 0xc48], esi
mov eax, dword [ebp - 0xc4c]
cmp eax, ebx
je 0x10f34f3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x10f3635
lea edx, [ebp - 0xc3c]
push edx
mov edx, dword [ebp - 0xc48]
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0xc60]
push ecx
push ebx
push 0x104532c
push edx
mov dword [ebp - 0xc3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10f3635
cmp dword [ebp - 0xc3c], 1
jbe 0x10f3635
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc3c]
push eax
lea ecx, [ebp - 0x118]
push ecx
push ebx
push edi
mov dword [ebp - 0xc3c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, 1
jmp 0x10f3570
cmp eax, ebx
je 0x10f357f
cmp eax, 0xea
jne 0x10f3635
mov ebx, dword [ebp - 0xc3c]
test ebx, ebx
je 0x10f3603
push ebx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x21b]
push eax
mov byte [ebp - 0x21c], 0x20
call fcn.01086710
mov cx, word [0x10453c4]
mov dl, byte [0x10453c6]
lea eax, [ebp + ebx - 0x21b]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x320]
push ecx
call fcn.0112a4c0
add esp, 0x14
test eax, eax
je 0x10f3603
mov edx, dword [ebp - 0xc3c]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
push 2
push 0x10453c4
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc3c]
push ecx
lea edx, [ebp - 0x118]
push edx
push esi
push edi
mov dword [ebp - 0xc3c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
xor ebx, ebx
jmp 0x10f3570
cmp dword [ebp - 0xc48], ebx
mov byte [ebp - 4], 6
je 0x10f364e
mov eax, dword [ebp - 0xc48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0xc48], esi
jmp 0x10f3662
xor ebx, ebx
mov eax, dword [ebp + esi*4 - 0xc7c]
cmp eax, ebx
je 0x10f374d
xor ebx, ebx
lea ecx, [ebp - 0xc44]
push ecx
push 1
push ebx
push 0x1045310
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0xc44], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10f373e
mov ebx, dword [ebp - 0xc44]
push eax
push eax
push eax
push eax
lea edx, [ebp - 0xc3c]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
push ebx
mov dword [ebp - 0xc4c], ebx
mov dword [ebp - 0xc3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, 1
test eax, eax
je 0x10f36dc
cmp eax, 0xea
jne 0x10f3738
mov eax, dword [ebp - 0xc3c]
test eax, eax
je 0x10f370b
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
push 2
push 0x10453c4
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc3c]
push edx
lea eax, [ebp - 0x118]
push eax
push esi
push ebx
mov dword [ebp - 0xc3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
jmp 0x10f36d1
mov esi, dword [ebp - 0xc48]
test ebx, ebx
mov byte [ebp - 4], 6
je 0x10f374d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 1
cmp esi, 4
mov dword [ebp - 0xc48], esi
jl 0x10f3660
mov eax, dword [ebp - 0xc58]
cmp eax, 0xffffffff
je 0x10f37b1
lea ecx, [ebp - 0xc3c]
push ecx
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0xc60]
push ecx
push 0
push 0x1045304
push eax
mov dword [ebp - 0xc3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10f37b1
mov edx, dword [ebp - 0xc3c]
add edx, 0xffffffff
push edx
lea eax, [ebp - 0x118]
push eax
jmp 0x10f38fd
mov eax, dword [ebp - 0xc54]
cmp eax, 0xffffffff
je 0x10f3803
lea ecx, [ebp - 0xc3c]
push ecx
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0xc60]
push ecx
push 0
push 0x1045304
push eax
mov dword [ebp - 0xc3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10f3803
mov edx, dword [ebp - 0xc3c]
add edx, 0xffffffff
push edx
lea eax, [ebp - 0x118]
push eax
jmp 0x10f38fd
lea ecx, [ebp - 0xc38]
push ecx
mov dword [ebp - 0xc38], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10f3a47
cmp dword [ebp - 0xc28], 2
jne 0x10f38ca
lea edx, [ebp - 0xcc4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0xcc4]
cmp ax, 9
je 0x10f3888
cmp ax, 6
je 0x10f3888
test ax, ax
jne 0x10f388f
push 0x10094a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x10452e8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10f388f
push 0x104
lea ecx, [ebp - 0x320]
push ecx
call eax
test eax, eax
je 0x10f388f
mov eax, 0x10452e0
jmp 0x10f3894
mov eax, 0x10452d8
jmp 0x10f3894
mov eax, 0x10095a2
mov edx, dword [ebp - 0xc30]
push eax
mov eax, dword [ebp - 0xc34]
push edx
push eax
push 0x10452cc
lea ecx, [ebp - 0xc68]
push 0x10452c0
push ecx
call fcn.010c7ba0
mov edx, dword [ebp - 0xc68]
add esp, 0x18
test edx, edx
jne 0x10f38e7
xor eax, eax
jmp 0x10f38fb
mov eax, dword [ebp - 0xc30]
cmp eax, 0xa
jb 0x10f3a3d
cmp eax, 0x5a
jb 0x10f3a33
mov edx, 0x10452a8
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10f38f0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
xor esi, esi
mov dword [ebp - 0xc48], esi
mov eax, dword [ebp + esi*4 - 0xc7c]
test eax, eax
je 0x10f3a60
xor ebx, ebx
mov dword [ebp - 0xc4c], ebx
lea edx, [ebp - 0xc44]
push edx
push 1
push ebx
push 0x104528c
push eax
mov byte [ebp - 4], 9
mov dword [ebp - 0xc44], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10f3960
mov ebx, dword [ebp - 0xc44]
cmp ebx, 0xffffffff
mov dword [ebp - 0xc4c], ebx
je 0x10f3a51
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc3c]
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0
push ebx
mov dword [ebp - 0xc3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0xc44], 1
test eax, eax
je 0x10f39a2
cmp eax, 0xea
jne 0x10f3a51
cmp dword [ebp - 0xc3c], 0
je 0x10f39f1
cmp esi, 1
jg 0x10f39c6
mov edi, 0x1045284
lea esi, [ebp - 0x118]
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10f39f1
push 2
push 0x10453c4
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov eax, dword [ebp - 0xc3c]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov esi, dword [ebp - 0xc44]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc3c]
push edx
lea eax, [ebp - 0x118]
push eax
push esi
push ebx
mov dword [ebp - 0xc3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
mov dword [ebp - 0xc44], esi
mov esi, dword [ebp - 0xc48]
jmp 0x10f3993
mov edx, 0x1045278
jmp 0x10f38e7
mov edx, 0x104526c
jmp 0x10f38e7
mov edx, 0x1045264
jmp 0x10f38e7
test ebx, ebx
mov byte [ebp - 4], 6
je 0x10f3a60
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 1
cmp esi, 4
mov dword [ebp - 0xc48], esi
jl 0x10f3910
push 2
push 0x10453c4
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov edi, dword [ebp - 0xc50]
lea ecx, [ebp - 0xc4c]
lea esi, [edi + 0x134]
push ecx
mov ecx, esi
call fcn.010f0df0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xc40]
mov byte [ebp - 4], 0xa
call fcn.010d56b0
mov eax, dword [ebp - 0xc4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10f3ada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xd
push 0x1045254
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov ecx, dword [edi + 0x19c]
cmp dword [ecx - 0xc], 0
je 0x10f3b80
push 2
push 0x10453c4
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
lea edx, [ebp - 0xc4c]
push edx
mov ecx, esi
call fcn.010f0df0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xc40]
mov byte [ebp - 4], 0xb
call fcn.010d56b0
mov eax, dword [ebp - 0xc4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10f3b58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 5
push 0x104524c
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov eax, dword [edi + 0x19c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov ecx, dword [edi + 0x188]
cmp dword [ecx - 0xc], 0
je 0x10f3c14
push 2
push 0x10453c4
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
lea edx, [ebp - 0xc4c]
push edx
mov ecx, esi
call fcn.010f0df0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xc40]
mov byte [ebp - 4], 0xc
call fcn.010d56b0
mov eax, dword [ebp - 0xc4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10f3bec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
push 0x1045244
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov eax, dword [edi + 0x188]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
push 0x800
lea ecx, [ebp - 0xb22]
push 0
push ecx
mov word [ebp - 0xb24], 0
call fcn.01084910
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x1161d94
call eax
add eax, 0x10
mov dword [ebp - 0xc44], eax
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 0xd
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xc48], esi
push 0x400
lea ecx, [ebp - 0xb24]
push ecx
push 0
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10f3e47
lea edx, [ebp - 0xc44]
push edx
lea eax, [ebp - 0xb24]
push eax
call fcn.01131240
lea ecx, [ebp - 0xb24]
push ecx
lea ecx, [ebp - 0xc48]
call fcn.0109db20
mov esi, dword [ebp - 0xc48]
push 0x5c
push esi
call fcn.0112a622
add esp, 8
test eax, eax
je 0x10f3d75
sub eax, esi
mov ecx, eax
test ecx, ecx
jle 0x10f3d75
mov eax, dword [esi - 0xc]
sub eax, ecx
sub eax, 1
push eax
lea edx, [ebp - 0xc4c]
push edx
lea ecx, [ebp - 0xc48]
call fcn.010f0ff0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [esi - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x10f3d4f
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x10f3d39
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x10f3d39
push eax
call fcn.010966c0
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10f3d2e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea esi, [edi + 0x10]
mov dword [ebp - 0xc48], esi
jmp 0x10f3d4f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0xc48]
call fcn.01081430
mov esi, dword [ebp - 0xc48]
mov eax, dword [ebp - 0xc4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10f3d75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 6
push 0x104523c
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
push 2
push 0x1045238
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov edx, dword [ebp - 0xc44]
lea ecx, [ebp - 0x198]
push 0xfde9
mov dword [ebp - 0x19c], ecx
push edx
lea ecx, [ebp - 0x19c]
call fcn.01097b60
mov edx, dword [ebp - 0x19c]
test edx, edx
mov byte [ebp - 4], 0x10
jne 0x10f3dde
xor eax, eax
jmp 0x10f3dee
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10f3de3
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov eax, dword [ebp - 0x19c]
test eax, eax
mov byte [ebp - 4], 0xe
je 0x10f3e1c
lea ecx, [ebp - 0x198]
cmp eax, ecx
je 0x10f3e1c
push eax
call fcn.01083cad
add esp, 4
push 2
push 0x1045238
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov edx, dword [ebp - 0xc50]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
add esi, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10f3e67
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [ebp - 0xc44]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10f3e8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x1045234
lea ecx, [ebp - 0xc40]
call fcn.010d56b0
mov edi, dword [ebp - 0xc50]
mov eax, dword [ebp - 0xc40]
mov ebx, dword [edi + 0x9c]
add edi, 0x9c
lea esi, [eax - 0x10]
sub ebx, 0x10
cmp esi, ebx
mov dword [ebp - 0xc50], edi
je 0x10f3f6b
cmp dword [ebx + 0xc], 0
jl 0x10f3f5f
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x10f3f5f
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x10f3f00
cmp eax, dword [esi]
jne 0x10f3f00
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10f3f37
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x10f3f19
jmp fcn.01073670
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
lea ecx, [esi + 0x10]
push ecx
push eax
lea edx, [edi + 0x10]
push edx
call fcn.01083b20
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10f3f50
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0xc50]
add edi, 0x10
mov dword [ecx], edi
mov edi, ecx
jmp 0x10f3f6b
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.01081430
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.01127f00
test al, al
je 0x10f3f91
mov edx, dword [edi]
push edx
push 0x1045208
push 0x1045188
push 3
call fcn.01128b70
add esp, 0x10
mov eax, dword [ebp - 0xc5c]
test eax, eax
je 0x10f3f9e
push eax
call ebx
mov eax, dword [ebp - 0xc68]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10f3fc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc54]
test eax, eax
je 0x10f3fd1
push eax
call ebx
mov eax, dword [ebp - 0xc58]
test eax, eax
je 0x10f3fde
push eax
call ebx
mov eax, dword [ebp - 0xc64]
test eax, eax
je 0x10f3feb
push eax
call ebx
mov eax, dword [ebp - 0xc6c]
test eax, eax
je 0x10f3ff8
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10f4018
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
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.010840d6
mov esp, ebp
pop ebp
ret