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

Disassembly:
push 0xffffffffffffffff
push 0x10156778
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a53c4]
xor eax, esp
push eax
lea eax, [esp + 0x52c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x60], ebp
mov bl, bl
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
push ecx
pop ecx
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 0x100d0c0a
mov dword [esp + 0x54], ebx
mov bl, bl
jmp 0x100d0620
mov ebx, ebx
mov ebx, ebx
mov eax, pe_nt_image_headers32
mov dword [esp + 0x1c], eax
mov eax, eax
mov dword [esp + 0x20], eax
mov eax, eax
mov bl, bl
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 0x100d0bfd
mov ch, ch
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
nop
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xac]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x100d0bf1
mov dword [esp + 0x4c], ebx
nop
lea ebx, [ebx]
mov edi, edi
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 0x100d0be4
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
mov edi, edi
lea edx, [esp + 0x328]
push edx
lea ecx, [esp + 0x30]
call fcn.1002eed0
mov dword [esp + 0x534], ebx
mov esi, esi
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.10060540
mov byte [esp + 0x540], 1
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.10060540
mov byte [esp + 0x54c], 2
lea ecx, [esp + 0x140]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
call fcn.10060540
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 0x100d0906
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x100d08f8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x100d08f8
push eax
call fcn.100418a0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100d08eb
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 0x100d0906
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.1002e030
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 0x100d092e
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 0x100d0956
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 0x100d097d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dl, dl
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 0x100d0bad
mov dword [esp + 0x50], ebx
mov ecx, ecx
mov cl, cl
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 0x100d0ba0
xchg ebx, eax
xchg ebx, eax
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 0x100d0b94
mov dword [esp + 0x38], ebx
mov ebx, ebx
mov eax, 4
mov dword [esp + 0x48], eax
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x44], eax
push ebx
pop ebx
mov bl, bl
mov edi, 1
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x40], edi
mov esi, esi
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 cl, cl
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 ebp, ebp
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 0x100d0b81
cmp dword [esp + 0x38], edi
jne 0x100d0b81
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 0x100d0b81
nop
mov edi, dword [ebp + 4]
mov dh, dh
push 0x94
call fcn.100e39c0
add esp, 4
push ebx
pop ebx
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 0x100d0b20
push edx
pop edx
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 0x100d0b40
xchg ebx, eax
xchg ebx, eax
mov dword [eax + 0x90], ebx
push edx
pop edx
cmp edi, ebx
je 0x100d0b7c
cmp dword [edi + 0x90], ebx
je 0x100d0b72
mov edi, dword [edi + 0x90]
mov ebp, ebp
cmp dword [edi + 0x90], ebx
jne 0x100d0b62
mov dword [edi + 0x90], eax
push ecx
pop ecx
jmp 0x100d0b81
mov dword [ebp + 4], eax
mov al, al
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add dword [esp + 0x50], 1
mov ecx, ecx
jmp 0x100d09a4
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, bl
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 0x100d0bd8
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 0x100d0770
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, ebp
add dword [esp + 0x54], 1
mov edx, edx
jmp 0x100d0620
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, ebx
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.100f5016
add esp, 0x524
ret