Function at 0x40cc50
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45d7a2
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x4754f4]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4754f4]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov eax, dword [esp + 0x478]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x470], edi
call fcn.00410db9
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ccbf
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x44], edi
add esi, 4
mov ebx, 1
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x474], bl
call fcn.00402eb0
mov byte [esp + 0x470], 2
mov ebp, dword [esp + 0x47c]
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40cd00
sub eax, edx
cmp eax, ebx
jae 0x40cdff
lea ecx, [esp + 0x47c]
push ecx
lea edx, [esp + 0x24]
push str.SearchGID____:_null.
push edx
call fcn.004023e0
push 0x465a78
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x488], 3
call fcn.00402300
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cdae
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x28]
add eax, 0x10
mov dword [esi], eax
mov ecx, esi
call fcn.00402b80
mov byte [esp + 0x470], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cdef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 0
lea eax, [edi - 0x10]
jmp 0x40d46e
mov ecx, 7
mov esi, str.SOFTWAREGoyooi8deskgidinfo
lea edi, [esp + 0x360]
rep movsd dword es:[edi], dword [esi]
push 0xe6
lea ecx, [esp + 0x382]
push 0
push ecx
movsw word es:[edi], word [esi]
call fcn.004314b0
push 0x103
lea edx, [esp + 0x169]
push 0
push edx
mov byte [esp + 0x170], 0
call fcn.004314b0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0x18
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x15c]
push ecx
lea edx, [esp + 0x58]
push edx
push ebp
lea eax, [esp + 0x370]
push eax
mov edi, 0x104
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], edi
call esi
test eax, eax
jne 0x40d404
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ce9e
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x470], 5
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ced0
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x470], 6
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cf02
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
push 0x3b
push ebx
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x480], 7
call fcn.00410d34
push 0x3b
push 2
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00410d34
push 0x3b
push 3
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00410d34
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cf75
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x470], 8
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cfa7
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x470], 9
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cfd9
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x3d
mov byte [esp + 0x474], 0xa
mov ecx, dword [esp + 0x20]
push ebx
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00410d34
mov eax, dword [esp + 0x20]
push 0x3d
push ebx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00410d34
mov edx, dword [esp + 0x38]
push 0x3d
push ebx
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00410d34
mov ecx, dword [esp + 0x2c]
push 0x46876c
push ecx
call fcn.0042da2a
add esp, 8
test eax, eax
sete al
test al, al
je 0x40d2f9
mov edx, dword [str.SOFTWAREGoyooi8desk]
mov ecx, dword [0x468778]
mov eax, dword [0x468774]
mov dword [esp + 0x54], edx
mov edx, dword [0x46877c]
push 0xee
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], eax
mov eax, dword [0x468780]
mov dword [esp + 0x60], ecx
mov cx, word [0x468784]
lea edx, [esp + 0x6e]
push 0
push edx
mov dword [esp + 0x70], eax
mov word [esp + 0x74], cx
call fcn.004314b0
push 0x103
lea eax, [esp + 0x26d]
push 0
push eax
mov byte [esp + 0x274], 0
call fcn.004314b0
add esp, 0x18
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x48]
push eax
push str.vpartition
lea ecx, [esp + 0x64]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], edi
call esi
test eax, eax
jne 0x40d242
lea ecx, [esp + 0x24]
call fcn.00402890
lea ecx, [esp + 0x30]
call fcn.00402890
lea ecx, [esp + 0x34]
call fcn.00402890
mov byte [esp + 0x470], 0xd
xor esi, esi
lea ebx, [ebx]
push 0x3b
push esi
lea edx, [esp + 0x264]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00410d34
mov ecx, dword [esp + 0x24]
push 0x3a
push 1
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00410d34
mov eax, dword [esp + 0x24]
push 0x3a
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00410d34
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x40d17d
mov edi, dword [esp + 0x30]
mov ecx, dword [edi - 0xc]
mov dl, byte [eax]
cmp ecx, 1
jne 0x40d16b
test ecx, ecx
jl 0x40d17d
cmp byte [edi], dl
je 0x40d173
inc esi
cmp esi, 8
jl 0x40d110
jmp 0x40d1ca
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 0xc], 0
jge 0x40d187
push 0x80070057
call fcn.00402d50
mov esi, dword [eax - 0xc]
mov bl, byte [ecx]
test esi, esi
jg 0x40d19a
push 0x80070057
call fcn.00402d50
cmp dword [eax - 4], 1
jle 0x40d1b0
mov edx, esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00402c00
mov eax, dword [esp + 0x18]
mov byte [eax], bl
test esi, esi
jl 0x40d17d
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x40d17d
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x18]
mov byte [esi + eax], 0
mov byte [esp + 0x470], 0xc
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 0xb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d21a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 0xa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d242
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.004030c0
mov eax, dword [esp + 0x14]
mov esi, 1
cmp dword [eax - 4], esi
jle 0x40d26f
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00402c00
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0042e005
add esp, 8
test eax, eax
jl 0x40d17d
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x40d17d
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x14]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], esi
jle 0x40d2c1
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00402c00
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0042e005
add esp, 8
test eax, eax
jl 0x40d17d
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x40d17d
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x14]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.004028c0
mov esi, dword [esp + 0x2c]
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x474], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d33a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d362
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d38a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d437
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40d437
call fcn.00410db9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d41e
push 0x80004005
call fcn.00402d50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x28]
add eax, 0x10
mov dword [esi], eax
mov ecx, esi
call fcn.00402b80
mov byte [esp + 0x470], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d45f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x470], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d487
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x470], 0xffffffff
mov eax, dword [esp + 0x47c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.0042d298
add esp, 0x460
ret 8