Function at 0x10209fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x10c], edi
call fcn.0101f76f
lea eax, [ebp - 0x138]
push eax
call fcn.0101f727
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f727
lea eax, [esi + 0xd60]
push eax
push 0x10042e4
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0101d67b
mov eax, dword [ebx + 0x8c]
add esp, 0x10
mov dword [ebp - 0x120], eax
test eax, eax
jle 0x1020ed9
mov ecx, dword [ebx + 0x90]
mov dword [ebp - 0x144], ecx
test ecx, ecx
jle 0x1020ed9
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x108], ecx
cmp ecx, eax
jbe 0x1020843
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0xc8
jb 0x1020ed9
mov eax, dword [ebp - 0x108]
fild dword [ebp - 0x108]
test eax, eax
jge 0x1020869
fadd dword [0x10042e0]
fidiv dword [ebp - 0x120]
fstp dword [ebp - 0x13c]
fild dword [ebp - 0x144]
fmul dword [ebp - 0x13c]
call fcn.0102cac6
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f76f
lea ecx, [esi + 0xa40]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x10208a3
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f94e
mov esi, eax
test esi, esi
jne 0x1020edc
push dword [ebp - 0x12c]
push dword [ebp - 0x144]
push dword [ebp - 0x108]
push 0x1004218
push dword [edi + 4]
push edi
call fcn.0102049d
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1020edc
and dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x140]
lea esi, [ebx + 0x84]
mov ebx, dword [ebx + 0xb0]
mov dword [ebp - 0x120], esi
lea edi, [ebp - 0x168]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ecx + 0xac]
movsd dword es:[edi], dword [esi]
cmp ebx, eax
je 0x1020de6
lea esi, [ebx + 0x2c]
lea edi, [ebp - 0x158]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x168]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x158]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0101fb3b
lea esi, [ebp - 0x158]
fld dword [ebp - 0x13c]
lea edi, [ebp - 0x168]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
fstp dword [esp]
push dword [ebp - 0x120]
lea eax, [ebp - 0x11c]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x158]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0101fbe6
lea eax, [ebp - 0x138]
push eax
call fcn.0101f76f
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f76f
cmp dword [ebx + 0x3c], 9
jne 0x1020a2b
xor edi, edi
cmp dword [ebx + 0xc], edi
je 0x1020a8e
cmp dword [ebx + 0x18], edi
je 0x1020a8e
cmp dword [ebp - 0x108], edi
jne 0x10209e6
push dword [ebx + 0x14]
push dword [ebx + 8]
lea eax, [ebp - 0x138]
push 0x1004200
push dword [ebp - 0x134]
push eax
call fcn.0102049d
mov esi, eax
add esp, 0x14
cmp esi, edi
jmp 0x1020a88
mov eax, dword [ebx + 0x20]
mov ecx, reloc.SHLWAPI.dll_PathUnquoteSpacesW
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1020a14
cmp dx, di
je 0x1020a10
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1020a14
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10209ee
xor eax, eax
jmp 0x1020a19
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x1020a8e
mov eax, dword [ebp - 0x148]
add eax, 0xb08
push eax
jmp 0x10209c0
cmp dword [ebx + 0xc], 0
je 0x1020a4d
push dword [ebx + 0xc]
lea eax, [ebp - 0x138]
push dword [ebx + 8]
push eax
call fcn.0101f8c8
mov esi, eax
test esi, esi
jne 0x1020edc
cmp dword [ebx + 0x18], 0
je 0x1020a8e
cmp dword [ebp - 0x134], 0
mov eax, reloc.KERNEL32.dll_TlsFree
jne 0x1020a66
mov eax, 0x1001920
push dword [ebx + 0x14]
push eax
push 0x10041dc
push dword [ebp - 0x134]
lea eax, [ebp - 0x138]
push eax
call fcn.0102049d
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1020edc
push dword [ebp - 0x134]
lea eax, [ebp - 0x12c]
push dword [ebp - 0x138]
push eax
call fcn.0101f94e
mov esi, eax
test esi, esi
jne 0x1020edc
cmp dword [ebp - 0x108], eax
jne 0x1020c24
push dword [ebp - 0x12c]
fld dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
sub esp, 0x20
fstp qword [esp + 0x18]
fld dword [ebp - 0x114]
fstp qword [esp + 0x10]
fld dword [ebp - 0x118]
fstp qword [esp + 8]
fld dword [ebp - 0x11c]
fstp qword [esp]
push 0x10040a0
push dword [eax + 4]
push eax
call fcn.0102049d
mov esi, eax
add esp, 0x30
test esi, esi
jne 0x1020edc
fld dword [ebp - 0x110]
fcomp qword [0x1004098]
fnstsw ax
test ah, 5
jnp 0x1020dc4
fld dword [ebp - 0x114]
fcomp qword [0x1004090]
fnstsw ax
test ah, 5
jnp 0x1020dc4
mov edi, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
test edi, edi
jne 0x1020b78
push 0x1002740
push dword [ebx + 0x20]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x1020dc4
lea esi, [ebp - 0x104]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1020b68
sub eax, edx
sar eax, 1
mov edi, eax
fld dword [ebp - 0x114]
fdiv qword [0x1004088]
call fcn.0102cac6
cmp edi, eax
jbe 0x1020b8f
mov edi, eax
lea eax, [ebp - 0x138]
push eax
call fcn.0101f76f
push edi
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.0101f94e
mov esi, eax
test esi, esi
jne 0x1020edc
cmp edi, dword [ebx + 0xc]
jae 0x1020bd8
push 3
pop ecx
push ecx
mov eax, reloc.USER32.dll_SetParent
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0101f94e
mov esi, eax
test esi, esi
jne 0x1020edc
push dword [ebp - 0x138]
fld dword [ebp - 0x114]
mov eax, dword [ebp - 0x10c]
push dword [ebp - 0x12c]
push 0xa
push 0xf
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [ebp - 0x118]
fstp qword [esp + 8]
fld dword [ebp - 0x11c]
fstp qword [esp]
push 0x1003f40
push dword [eax + 4]
push eax
call fcn.0102049d
add esp, 0x34
jmp 0x1020dba
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 0xb4]
dec eax
cmp dword [ebp - 0x108], eax
jne 0x1020d73
cmp dword [ebx + 0x3c], 1
je 0x1020dc4
push dword [ebp - 0x12c]
fld dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
sub esp, 0x20
fstp qword [esp + 0x18]
fld dword [ebp - 0x114]
fstp qword [esp + 0x10]
fld dword [ebp - 0x118]
fstp qword [esp + 8]
fld dword [ebp - 0x11c]
fstp qword [esp]
push 0x1003e18
push dword [eax + 4]
push eax
call fcn.0102049d
mov esi, eax
add esp, 0x30
test esi, esi
jne 0x1020edc
fld dword [0x1003e14]
fcomp dword [ebp - 0x110]
fnstsw ax
test ah, 0x41
je 0x1020d5c
fld dword [ebp - 0x114]
fcomp qword [0x1004098]
fnstsw ax
test ah, 5
jnp 0x1020d5c
cmp dword [ebx + 0xc], esi
je 0x1020d5c
fld dword [ebp - 0x114]
mov esi, dword [ebx + 8]
fdiv qword [0x1004088]
mov edi, dword [ebx + 0xc]
call fcn.0102cac6
cmp edi, eax
jbe 0x1020cec
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f76f
push edi
push esi
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f94e
mov esi, eax
test esi, esi
jne 0x1020edc
cmp edi, dword [ebx + 0xc]
jae 0x1020d35
push 3
pop ecx
push ecx
mov eax, reloc.USER32.dll_SetParent
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f94e
mov esi, eax
test esi, esi
jne 0x1020edc
push dword [ebp - 0x12c]
mov eax, dword [ebp - 0x10c]
push 0x1003c70
push dword [eax + 4]
push eax
call fcn.0102049d
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1020edc
push 8
pop ecx
push ecx
mov eax, 0x1003c58
push eax
push dword [ebp - 0x10c]
call fcn.0101f8c8
jmp 0x1020dba
push dword [ebp - 0x12c]
fld dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
sub esp, 0x20
fstp qword [esp + 0x18]
fld dword [ebp - 0x114]
fstp qword [esp + 0x10]
fld dword [ebp - 0x118]
fstp qword [esp + 8]
fld dword [ebp - 0x11c]
fstp qword [esp]
push 0x1003b40
push dword [eax + 4]
push eax
call fcn.0102049d
add esp, 0x30
mov esi, eax
test esi, esi
jne 0x1020edc
mov eax, dword [ebp - 0x140]
mov ebx, dword [ebx + 4]
inc dword [ebp - 0x108]
add eax, 0xac
cmp ebx, eax
jne 0x102092c
mov ecx, dword [ebp - 0x140]
push dword [ebp - 0x120]
xor eax, eax
lea edi, [ebp - 0x158]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx + 0xa8]
mov dword [ebp - 0x158], eax
mov eax, dword [ecx + 0xa4]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x158]
push eax
call fcn.0101fb3b
push ecx
fld dword [ebp - 0x13c]
lea eax, [ebp - 0x11c]
fstp dword [esp]
push dword [ebp - 0x120]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0101fbe6
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f76f
mov edi, dword [ebp - 0x148]
lea ecx, [edi + 0x978]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x1020e5c
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f94e
mov esi, eax
test esi, esi
jne 0x1020edc
push dword [ebp - 0x12c]
fld dword [ebp - 0x118]
mov ebx, dword [ebp - 0x10c]
push reloc.msvcrt.dll_free
sub esp, 0x10
fstp qword [esp + 8]
fld dword [ebp - 0x11c]
fstp qword [esp]
push 0x1003a58
push dword [ebx + 4]
push ebx
call fcn.0102049d
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x1020edc
or dword [edi + 0x14], 1
push 0x1003a48
push dword [ebx + 4]
push ebx
call fcn.0102049d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1020edc
jmp 0x1020edc
push 0x57
pop esi
lea eax, [ebp - 0x138]
push eax
call fcn.0101f747
lea eax, [ebp - 0x12c]
push eax
call fcn.0101f747
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret 0x10