Function at 0x10041a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098476
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100c006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x224], eax
call fcn.10003080
mov edi, eax
test edi, edi
je 0x10041cb4
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 0x104
push eax
push 0
push 0
push str.Identifier
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push 0x100af434
push eax
call fcn.10023680
mov esi, dword [ebp - 0x220]
add esp, 0xc
xor edi, edi
mov ebx, esi
movzx eax, word [esi]
test ax, ax
je 0x10041b8f
mov ecx, eax
nop dword [eax + eax]
push ecx
call fcn.100775c7
add esp, 4
test eax, eax
je 0x10041b38
test edi, edi
mov eax, ebx
cmovne eax, edi
mov edi, eax
jmp 0x10041b3a
xor edi, edi
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x10041b20
test edi, edi
je 0x10041b8f
sub edi, esi
sar edi, 1
js 0x10041cbe
mov eax, dword [esi - 8]
mov ebx, 1
mov ecx, ebx
sub eax, edi
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x10041b7b
push edi
lea ecx, [ebp - 0x220]
call fcn.10005260
mov esi, dword [ebp - 0x220]
cmp edi, dword [esi - 8]
jg 0x10041cbe
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x10041b94
mov ebx, 1
movzx eax, word [esi]
mov edi, esi
push eax
call fcn.100775c7
add esp, 4
test eax, eax
je 0x10041c33
nop word [eax + eax]
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.100775c7
add esp, 4
test eax, eax
jne 0x10041bb0
cmp edi, esi
je 0x10041c33
mov ecx, dword [esi - 0xc]
sub edi, esi
sar edi, 1
test ecx, ecx
js 0x10041cc8
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, ecx
or eax, ebx
jge 0x10041bf5
push ecx
lea ecx, [ebp - 0x220]
call fcn.10005260
mov esi, dword [ebp - 0x220]
mov ecx, dword [esi - 0xc]
lea edx, [esi + edi*2]
mov ebx, ecx
sub ebx, edi
lea eax, [ebx*2 + 2]
push eax
push edx
lea eax, [ecx*2 + 2]
push eax
push esi
call fcn.10005d90
add esp, 0x10
test ebx, ebx
js 0x10041cbe
cmp ebx, dword [esi - 8]
jg 0x10041cbe
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
push esi
lea ecx, [ebp - 0x2ac]
call fcn.10037e10
mov ebx, dword [ebp - 0x228]
mov ecx, ebx
mov byte [ebp - 4], 1
push dword [eax]
call fcn.10009810
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2a8]
cmp eax, ecx
je 0x10041c6b
push eax
call fcn.10072ede
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10041c96
mov edi, dword [esi]
push esi
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x1009c3c4]
mov ecx, edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005771b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002e30
push 0x80070057
call fcn.10002e30
push 0x80070057
call fcn.10002e30
int3