Function at 0x100d6640
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10161438
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b03d4]
xor eax, esp
push eax
lea eax, [esp + 0x52c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x60], ebp
xchg ebx, eax
xchg ebx, eax
mov al, 0x79
xor ebx, ebx
mov byte [esp + 0x70], 0x4b
mov byte [esp + 0x71], 0x65
mov byte [esp + 0x72], al
mov byte [esp + 0x73], 0x62
mov byte [esp + 0x74], 0x6f
mov byte [esp + 0x75], 0x61
mov byte [esp + 0x76], 0x72
mov byte [esp + 0x77], 0x64
mov byte [esp + 0x78], 0x20
mov byte [esp + 0x79], 0x4c
mov byte [esp + 0x7a], 0x61
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], 0x6f
mov byte [esp + 0x7d], 0x75
mov byte [esp + 0x7e], 0x74
mov byte [esp + 0x7f], 0x5c
mov byte [esp + 0x80], 0x50
mov byte [esp + 0x81], 0x72
mov byte [esp + 0x82], 0x65
mov byte [esp + 0x83], 0x6c
mov byte [esp + 0x84], 0x6f
mov byte [esp + 0x85], 0x61
mov byte [esp + 0x86], 0x64
mov byte [esp + 0x87], bl
mov edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
push ecx
push SysReAllocStringLen
call esi
test eax, eax
jne 0x100d6d29
mov dword [esp + 0x54], ebx
mov eax, eax
jmp 0x100d6740
mov ecx, ecx
mov ebx, ebx
mov eax, pe_nt_image_headers32
mov dword [esp + 0x1c], eax
push ecx
pop ecx
mov dword [esp + 0x20], eax
mov ebp, ebp
mov ch, ch
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x60]
push ebx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x23c]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x100d6d1c
mov esi, esi
mov byte [esp + 0xa8], 0x53
mov byte [esp + 0xa9], 0x4f
mov byte [esp + 0xaa], 0x46
mov byte [esp + 0xab], 0x54
mov byte [esp + 0xac], 0x57
mov byte [esp + 0xad], 0x41
mov byte [esp + 0xae], 0x52
mov byte [esp + 0xaf], 0x45
mov byte [esp + 0xb0], 0x5c
mov byte [esp + 0xb1], 0x4d
mov byte [esp + 0xb2], 0x69
mov byte [esp + 0xb3], 0x63
mov byte [esp + 0xb4], 0x72
mov byte [esp + 0xb5], 0x6f
mov byte [esp + 0xb6], 0x73
mov byte [esp + 0xb7], 0x6f
mov byte [esp + 0xb8], 0x66
mov byte [esp + 0xb9], 0x74
mov byte [esp + 0xba], 0x5c
mov byte [esp + 0xbb], 0x43
mov byte [esp + 0xbc], 0x54
mov byte [esp + 0xbd], 0x46
mov byte [esp + 0xbe], 0x5c
mov byte [esp + 0xbf], 0x54
mov byte [esp + 0xc0], 0x49
mov byte [esp + 0xc1], 0x50
mov byte [esp + 0xc2], bl
mov ebx, ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xac]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x100d6d10
mov dword [esp + 0x4c], ebx
mov edx, edx
lea esp, [esp]
mov ecx, ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
push pe_nt_image_headers32
lea edx, [esp + 0x32c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x100d6d03
mov esi, esi
mov byte [esp + 0x88], 0x5c
mov byte [esp + 0x89], 0x4c
mov byte [esp + 0x8a], 0x61
mov byte [esp + 0x8b], 0x6e
mov byte [esp + 0x8c], 0x67
mov byte [esp + 0x8d], 0x75
mov byte [esp + 0x8e], 0x61
mov byte [esp + 0x8f], 0x67
mov byte [esp + 0x90], 0x65
mov byte [esp + 0x91], 0x50
mov byte [esp + 0x92], 0x72
mov byte [esp + 0x93], 0x6f
mov byte [esp + 0x94], 0x66
mov byte [esp + 0x95], 0x69
mov byte [esp + 0x96], 0x6c
mov byte [esp + 0x97], 0x65
mov byte [esp + 0x98], 0x5c
mov byte [esp + 0x99], bl
mov ecx, ecx
mov byte [esp + 0x18], 0x30
mov byte [esp + 0x19], 0x78
mov byte [esp + 0x1a], bl
nop
lea edx, [esp + 0x328]
push edx
lea ecx, [esp + 0x30]
call fcn.1002e170
mov dword [esp + 0x534], ebx
push ecx
pop ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.1005fad0
mov byte [esp + 0x540], 1
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.1005fad0
mov byte [esp + 0x54c], 2
lea ecx, [esp + 0x140]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
call fcn.1005fad0
add esp, 0x24
mov byte [esp + 0x534], 3
mov ecx, dword [eax]
mov esi, dword [esp + 0x2c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x100d6a25
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x100d6a17
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x100d6a17
push eax
call fcn.10040ac0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100d6a0a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x60]
jmp 0x100d6a25
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.1002d210
mov byte [esp + 0x534], 2
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d6a4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x534], 1
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d6a75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x534], bl
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100d6a9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edx
pop edx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call esi
test eax, eax
jne 0x100d6ccc
mov dword [esp + 0x50], ebx
mov esi, esi
mov bl, bl
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
push pe_nt_image_headers32
lea ecx, [esp + 0x42c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x100d6cbf
mov dh, dh
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x42c]
push edx
push eax
call esi
test eax, eax
jne 0x100d6cb4
mov dword [esp + 0x38], ebx
push ebx
pop ebx
mov eax, 4
mov dword [esp + 0x48], eax
push ebx
pop ebx
mov dword [esp + 0x44], eax
mov bh, bh
mov eax, eax
mov edi, 1
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x40], edi
mov cl, cl
mov byte [esp + 0x68], 0x45
mov byte [esp + 0x69], 0x6e
mov byte [esp + 0x6a], 0x61
mov byte [esp + 0x6b], 0x62
mov byte [esp + 0x6c], 0x6c
mov byte [esp + 0x6d], 0x65
mov byte [esp + 0x6e], bl
mov eax, eax
mov byte [esp + 0x9c], 0x44
mov byte [esp + 0x9d], 0x65
mov byte [esp + 0x9e], 0x73
mov byte [esp + 0x9f], 0x63
mov byte [esp + 0xa0], 0x72
mov byte [esp + 0xa1], 0x69
mov byte [esp + 0xa2], 0x70
mov byte [esp + 0xa3], 0x74
mov byte [esp + 0xa4], 0x69
mov byte [esp + 0xa5], 0x6f
mov byte [esp + 0xa6], 0x6e
mov byte [esp + 0xa7], bl
mov edx, edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x4c]
push eax
push ebx
lea ecx, [esp + 0x78]
push ecx
push edx
call esi
test eax, eax
jne 0x100d6ca1
cmp dword [esp + 0x38], edi
jne 0x100d6ca1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x48]
push edx
push ebx
lea eax, [esp + 0xac]
push eax
push ecx
call esi
test eax, eax
jne 0x100d6ca1
push edx
pop edx
mov edi, dword [ebp + 4]
mov ah, ah
push 0x94
call fcn.100e9ad0
add esp, 4
mov cl, cl
lea ecx, [esp + 0x128]
mov esi, eax
mov edx, ecx
sub esi, edx
lea ebx, [ebx]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
add ecx, 1
cmp dl, bl
jne 0x100d6c40
mov ah, ah
lea ecx, [esp + 0xc4]
mov esi, ecx
mov edx, eax
sub edx, esi
lea esi, [edx + 0xf]
mov edi, edi
mov dl, byte [ecx]
mov byte [esi + ecx], dl
add ecx, 1
cmp dl, bl
jne 0x100d6c60
mov bl, bl
mov dword [eax + 0x90], ebx
mov al, al
cmp edi, ebx
je 0x100d6c9c
cmp dword [edi + 0x90], ebx
je 0x100d6c92
mov edi, dword [edi + 0x90]
mov dl, dl
cmp dword [edi + 0x90], ebx
jne 0x100d6c82
mov dword [edi + 0x90], eax
mov dh, dh
jmp 0x100d6ca1
mov dword [ebp + 4], eax
mov al, al
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xchg ebx, eax
xchg ebx, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add dword [esp + 0x50], 1
nop
jmp 0x100d6ac3
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, esi
mov dword [esp + 0x534], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100d6cf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x4c], 1
push eax
pop eax
jmp 0x100d6890
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ch, ch
add dword [esp + 0x54], 1
mov dh, dh
jmp 0x100d6740
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, al
xor eax, eax
cmp dword [ebp + 4], ebx
setne al
mov ecx, dword [esp + 0x52c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.100fb12a
add esp, 0x524
ret