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

Disassembly:
push 0xffffffffffffffff
push 0x10195288
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x52c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x60], ebp
mov bh, bh
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 ch, ch
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
push ecx
push SysReAllocString
call esi
test eax, eax
jne 0x10104ff2
mov dword [esp + 0x54], ebx
cmp dword [0x101d313c], 0x4beb
cmp dword [0x101d3140], 0xffffc5c1
mov edx, edx
mov eax, 0x100
mov dword [esp + 0x1c], eax
cmp dword [0x101d3148], 0xffffbcd1
mov dword [esp + 0x20], eax
nop
mov dl, dl
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 0x10104fe5
cmp dword [0x101d3134], 0xffffe039
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
cmp dword [0x101d3128], 0xfffff60c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xac]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x10104fd1
mov dword [esp + 0x4c], ebx
cmp dword [0x101d3140], 0xffffc5c1
push edx
pop edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
push 0x100
lea edx, [esp + 0x32c]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10104fc4
cmp dword [0x101d3130], 0xffffb49b
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
push eax
pop eax
mov byte [esp + 0x18], 0x30
mov byte [esp + 0x19], 0x78
mov byte [esp + 0x1a], bl
cmp dword [0x101d3148], 0x432e
lea edx, [esp + 0x328]
push edx
lea ecx, [esp + 0x30]
call fcn.10049400
mov dword [esp + 0x534], ebx
push edx
pop edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.1007b7f0
mov byte [esp + 0x540], 1
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.1007b7f0
mov byte [esp + 0x54c], 2
lea ecx, [esp + 0x140]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
call fcn.1007b7f0
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 0x10104c8c
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x10104c7e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x10104c7e
push eax
call fcn.1005fd90
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x10104c71
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 0x10104c8c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.10048330
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 0x10104cb4
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 0x10104cdc
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 0x10104d03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x101d3130], 0xffffb49b
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 0x10104f85
mov dword [esp + 0x50], ebx
xchg ebx, eax
xchg ebx, eax
cmp dword [0x101d3128], 0x9f3
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
push 0x100
lea ecx, [esp + 0x42c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10104f78
mov ebx, ebx
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 0x10104f64
mov dword [esp + 0x38], ebx
mov dh, dh
mov eax, 4
mov dword [esp + 0x48], eax
cmp dword [0x101d312c], 0x317
mov dword [esp + 0x44], eax
cmp dword [0x101d3140], 0xffffc5c1
mov edx, edx
mov edi, 1
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x40], edi
cmp dword [0x101d312c], 0x317
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
cmp dword [0x101d3124], 0xffffab2a
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 al, al
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 0x10104f49
cmp dword [esp + 0x38], edi
jne 0x10104f49
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 0x10104f49
cmp dword [0x101d312c], 0x317
mov edi, dword [ebp + 4]
push edx
pop edx
push 0x94
call fcn.1011cdc0
add esp, 4
cmp dword [0x101d3140], 0xffffc5c1
lea ecx, [esp + 0x128]
mov esi, eax
mov edx, ecx
sub esi, edx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
add ecx, 1
cmp dl, bl
jne 0x10104ee1
mov dl, dl
lea ecx, [esp + 0xc4]
mov esi, ecx
mov edx, eax
sub edx, esi
lea esi, [edx + 0xf]
nop
mov dl, byte [ecx]
mov byte [esi + ecx], dl
add ecx, 1
cmp dl, bl
jne 0x10104f00
mov al, al
mov dword [eax + 0x90], ebx
mov dh, dh
cmp edi, ebx
je 0x10104f44
cmp dword [edi + 0x90], ebx
je 0x10104f32
mov edi, dword [edi + 0x90]
mov esi, esi
cmp dword [edi + 0x90], ebx
jne 0x10104f22
mov dword [edi + 0x90], eax
cmp dword [0x101d3148], 0x432e
jmp 0x10104f49
mov dword [ebp + 4], eax
mov ebp, ebp
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101d3138], 0xfffffe8f
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add dword [esp + 0x50], 1
cmp dword [0x101d3138], 0x170
jmp 0x10104d32
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ch, ch
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 0x10104fb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x4c], 1
cmp dword [0x101d3144], 0x7169
jmp 0x10104ae6
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ecx
add dword [esp + 0x54], 1
cmp dword [0x101d3138], 0x170
jmp 0x10104973
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
pop 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.1012e3ba
add esp, 0x524
ret