Function at 0x100350b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1689
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], ecx
xor edi, edi
mov dword [ebp - 0x268], edi
mov dword [ebp - 4], edi
lea eax, [edi + 0x10]
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead000b
push 0x2c3beef
lea edx, [ebp - 0x238]
push edx
call fcn.100018e0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1003512d
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10002d60
mov eax, 4
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x268], eax
cmp eax, edi
je 0x10035171
mov dword [eax], 0xabab02c3
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
mov eax, dword [ebp - 0x268]
cmp eax, ebx
je 0x1003518a
mov dword [eax], 0xcdcd02c3
mov esi, 6
mov dword [ebp - 0x270], esi
test byte [0x10106d78], 1
jne 0x100351c5
or dword [0x10106d78], 1
mov dword [ebp - 4], 3
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x270]
push eax
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x1003533c
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x25c], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 4], esi
lea edi, [ebp - 0x25c]
call fcn.10031570
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10035241
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.1000bc70
jmp 0x1003524f
push str.EnterFunction
push ecx
call fcn.1000d880
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x23c]
call fcn.10001860
mov edi, eax
mov byte [ebp - 4], 7
test byte [0x10106d78], 1
jne 0x10035297
or dword [0x10106d78], 1
mov byte [ebp - 4], 8
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 7
mov ecx, 0x10106d2c
mov dword [ebp - 0x270], ecx
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov ecx, dword [0x10106d74]
cmp ecx, ebx
je 0x100352df
cmp dword [edi + 0x14], 8
jb 0x100352c5
mov eax, dword [edi]
jmp 0x100352c7
mov eax, edi
mov edx, dword [ecx]
push 0x2c3
push str.RegistryHandler::GetSubKeyNames
push str.RegistryHandler.cpp
push eax
push esi
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 7
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x224], 8
jb 0x10035310
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
xor edx, edx
mov word [ebp - 0x238], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x25c]
push eax
call fcn.10031440
mov dword [ebp - 0x26c], ebx
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x14], 8
jb 0x10035350
mov eax, dword [eax]
lea ecx, [ebp - 0x26c]
push ecx
push 8
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x1003562a
mov eax, dword [ebp - 0x268]
cmp eax, ebx
je 0x1003537e
mov dword [eax], 0xcdcd02c9
mov dword [ebp - 0x264], 2
test byte [0x10106d78], 1
jne 0x100353b8
or dword [0x10106d78], 1
mov dword [ebp - 4], 0xa
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x264]
push edx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x100354c6
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x25c], 0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 4], 0xd
lea edi, [ebp - 0x25c]
call fcn.10031570
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x1003542b
push 0x14
push str.RegOpenKeyExW_failed
mov ecx, eax
call fcn.1000bc70
jmp 0x10035439
push str.RegOpenKeyExW_failed
push ecx
call fcn.1000d880
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0xe
push 0x2c9
push str.RegistryHandler::GetSubKeyNames
push str.RegistryHandler.cpp
push 2
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x224], 8
jb 0x10035491
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
xor edx, edx
mov word [ebp - 0x238], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x25c]
push eax
call fcn.10031440
xor ebx, ebx
lea esi, [ebx + 6]
mov eax, dword [ebp - 0x268]
cmp eax, ebx
je 0x100354d6
mov dword [eax], 0xcdcd02ca
mov dword [ebp - 0x264], esi
test byte [0x10106d78], 1
jne 0x1003550c
or dword [0x10106d78], 1
mov dword [ebp - 4], 0xf
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x10035623
mov dword [ebp - 0x248], 0xf
xor ebx, ebx
mov dword [ebp - 0x24c], ebx
mov byte [ebp - 0x25c], bl
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 4], 0x12
lea edi, [ebp - 0x25c]
call fcn.10031570
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x10035582
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.1000bc70
jmp 0x10035590
push str.ExitFunction_Ret:
push eax
call fcn.1000d880
add esp, 8
mov edx, str.False
call fcn.10030f60
push 0x1ff
push 0
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x23c]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x13
push 0x2ca
push str.RegistryHandler::GetSubKeyNames
push str.RegistryHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x224], 8
jb 0x100355f3
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
xor ecx, ecx
mov word [ebp - 0x238], cx
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x25c]
push edx
call fcn.10031440
xor al, al
jmp 0x10035d0a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x264], 0x104
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x21c]
push eax
push ebx
mov ecx, dword [ebp - 0x26c]
push ecx
call esi
test eax, eax
jne 0x1003571f
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], eax
xor edx, edx
mov word [ebp - 0x238], dx
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100356a2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.10003360
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x238]
mov edi, dword [ebp - 0x260]
call fcn.1002d820
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x224], 8
jb 0x100356fc
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
xor edx, edx
mov word [ebp - 0x238], dx
inc ebx
jmp 0x10035630
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x10035adb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10035adb
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x1003574c
mov dword [eax], 0xcdcd02e9
mov dword [ebp - 0x260], 2
test byte [0x10106d78], 1
jne 0x10035786
or dword [0x10106d78], 1
mov dword [ebp - 4], 0x15
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x260]
push eax
mov edi, 0x10106d28
call fcn.10030d50
xor esi, esi
test al, al
je 0x100358f6
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], esi
mov byte [ebp - 0x25c], 0
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x23c], esi
mov dword [ebp - 4], 0x18
lea edi, [ebp - 0x25c]
call fcn.10031570
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jne 0x100357fb
push 0x12
push str.RegCloseKey_failed
mov ecx, eax
call fcn.1000bc70
jmp 0x10035809
push str.RegCloseKey_failed
push ecx
call fcn.1000d880
add esp, 8
push 0x1ff
push esi
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x23c]
call fcn.10001860
mov edi, eax
mov bl, 0x19
mov byte [ebp - 4], bl
test byte [0x10106d78], 1
jne 0x10035851
or dword [0x10106d78], 1
mov byte [ebp - 4], 0x1a
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x10106d2c
mov dword [ebp - 0x260], ecx
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [0x10106d74]
cmp ecx, esi
je 0x1003589a
cmp dword [edi + 0x14], 8
jb 0x1003587f
mov eax, dword [edi]
jmp 0x10035881
mov eax, edi
mov edx, dword [ecx]
push 0x2e9
push str.RegistryHandler::GetSubKeyNames
push str.RegistryHandler.cpp
push eax
push 2
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x224], 8
jb 0x100358ca
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], esi
xor edx, edx
mov word [ebp - 0x238], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x25c]
push eax
call fcn.10031440
mov eax, dword [ebp - 0x268]
cmp eax, esi
je 0x10035906
mov dword [eax], 0xcdcd02ea
mov dword [ebp - 0x260], 6
test byte [0x10106d78], 1
jne 0x10035940
or dword [0x10106d78], 1
mov dword [ebp - 4], 0x1c
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x10035ad4
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x24c], esi
mov byte [ebp - 0x25c], 0
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x23c], esi
mov dword [ebp - 4], 0x1f
lea edi, [ebp - 0x25c]
call fcn.10031570
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, esi
jne 0x100359b5
push 0x11
push str.ExitFunction_Ret:
mov ecx, edi
call fcn.1000bc70
jmp 0x100359c3
push str.ExitFunction_Ret:
push eax
call fcn.1000d880
add esp, 8
mov eax, dword [edi + 0x1c]
cmp eax, esi
jne 0x100359da
push 5
push str.False
mov ecx, edi
call fcn.1000bc70
jmp 0x100359e8
push str.False
push eax
call fcn.1000d880
add esp, 8
push 0x1ff
push esi
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x23c]
call fcn.10001860
mov edi, eax
mov bl, 0x20
mov byte [ebp - 4], bl
test byte [0x10106d78], 1
jne 0x10035a30
or dword [0x10106d78], 1
mov byte [ebp - 4], 0x21
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x10106d2c
mov dword [ebp - 0x260], ecx
mov eax, dword [0x10106d2c]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0x22
mov ecx, dword [0x10106d74]
cmp ecx, esi
je 0x10035a78
cmp dword [edi + 0x14], 8
jb 0x10035a5d
mov eax, dword [edi]
jmp 0x10035a5f
mov eax, edi
mov edx, dword [ecx]
push 0x2ea
push str.RegistryHandler::GetSubKeyNames
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x224], 8
jb 0x10035aa8
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], esi
xor edx, edx
mov word [ebp - 0x238], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x25c]
push eax
call fcn.10031440
xor al, al
jmp 0x10035d0a
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x10035aeb
mov dword [eax], 0xcdcd02ee
test byte [0x10106d78], 1
jne 0x10035b1c
or dword [0x10106d78], 1
mov dword [ebp - 4], 0x23
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 4], esi
jmp 0x10035b1f
or esi, 0xffffffff
mov dword [ebp - 0x260], 0x10106d2c
mov ecx, 0x10106d2c
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0x24
cmp dword [0x10106d74], 0
je 0x10035bd0
cmp dword [0x10101698], 6
setge bl
mov dword [ebp - 4], esi
mov ecx, 0x10106d2c
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 8]
call eax
test bl, bl
je 0x10035d08
mov dword [ebp - 0x248], 0xf
xor esi, esi
mov dword [ebp - 0x24c], esi
mov byte [ebp - 0x25c], 0
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], 0x26
mov dword [ebp - 0x23c], esi
mov dword [ebp - 4], 0x27
lea edi, [ebp - 0x25c]
call fcn.10031570
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, esi
jne 0x10035be8
push 0x11
push str.ExitFunction_Ret:
mov ecx, edi
call fcn.1000bc70
jmp 0x10035bf6
mov dword [ebp - 4], esi
mov ecx, 0x10106d2c
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 8]
call eax
jmp 0x10035d08
push str.ExitFunction_Ret:
push eax
call fcn.1000d880
add esp, 8
mov eax, dword [edi + 0x1c]
cmp eax, esi
jne 0x10035c0d
push 4
push str.True
mov ecx, edi
call fcn.1000bc70
jmp 0x10035c1b
push str.True
push eax
call fcn.1000d880
add esp, 8
push 0x1ff
push esi
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x23c]
call fcn.10001860
mov edi, eax
mov bl, 0x28
mov byte [ebp - 4], bl
test byte [0x10106d78], 1
jne 0x10035c63
or dword [0x10106d78], 1
mov byte [ebp - 4], 0x29
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], bl
mov ecx, 0x10106d2c
mov dword [ebp - 0x260], ecx
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x2a
mov ecx, dword [0x10106d74]
cmp ecx, esi
je 0x10035cac
cmp dword [edi + 0x14], 8
jb 0x10035c91
mov eax, dword [edi]
jmp 0x10035c93
mov eax, edi
mov edx, dword [ecx]
push 0x2ee
push str.RegistryHandler::GetSubKeyNames
push str.RegistryHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x27
cmp dword [ebp - 0x224], 8
jb 0x10035cdc
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], esi
xor edx, edx
mov word [ebp - 0x238], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x25c]
push eax
call fcn.10031440
mov al, 1
lea esp, [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret