Function at 0x417030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442a65
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
sub ecx, dword [eax + 0xa0]
mov dword [ebp - 0x400], eax
test ecx, 0xfffffff8
je 0x417686
push 8
call fcn.0041b5db
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x41709c
mov dword [eax], SysReAllocString
mov dword [eax + 4], ebx
mov edi, eax
jmp 0x41709e
xor edi, edi
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x21c], dx
call fcn.004212c0
mov eax, dword [edi + 4]
lea esi, [edi + 4]
add esp, 0xc
cmp eax, ebx
je 0x4170cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], ebx
mov ecx, dword [edi]
push esi
push 1
push ebx
push str.Software_srf
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4170e9
mov dword [esi], ebx
jmp 0x417125
mov eax, dword [esi]
mov dword [ebp - 0x3f8], 0x104
mov dword [ebp - 0x3fc], 1
cmp eax, ebx
je 0x417125
lea edx, [ebp - 0x3f8]
push edx
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x3fc]
push edx
push ebx
push 0x451238
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [esi]
cmp esi, ebx
je 0x417132
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0041afda
add esp, 4
lea esi, [ebp - 0x3f4]
call fcn.00403b30
mov dword [ebp - 4], ebx
mov esi, 0xc
mov eax, str.acountmac
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2a8], 0xf
mov dword [ebp - 0x2ac], ebx
mov byte [ebp - 0x2bc], bl
call fcn.00404d00
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 1
call fcn.00412f00
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2d4], 8
mov eax, dword [ebp - 0x2e8]
jae 0x41719c
lea eax, [ebp - 0x2e8]
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov ecx, eax
mov dword [ebp - 0x3fc], esp
lea edi, [ecx + 2]
jmp 0x4171c0
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4171c0
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00404070
lea ebx, [ebp - 0x238]
call fcn.00405e50
add esp, 0x1c
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2bc]
mov byte [ebp - 4], 3
call fcn.00405200
mov byte [ebp - 4], 2
cmp dword [ebp - 0x224], 0x10
jb 0x417215
mov edx, dword [ebp - 0x238]
push edx
call fcn.0041afda
add esp, 4
push 5
mov eax, str.sid
lea ecx, [ebp - 0x2bc]
call fcn.00404c20
mov edi, 7
xor eax, eax
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x290], ebx
mov word [ebp - 0x2a0], ax
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 5
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417260
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x2a0]
call fcn.00404070
mov byte [ebp - 4], 6
cmp dword [ebp - 0x28c], 8
mov eax, dword [ebp - 0x2a0]
jae 0x417296
mov eax, esi
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov ecx, eax
mov dword [ebp - 0x3fc], esp
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4172b1
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00404070
lea ebx, [ebp - 0x238]
call fcn.00405e50
add esp, 0x1c
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2bc]
mov byte [ebp - 4], 7
call fcn.00405200
mov byte [ebp - 4], 6
cmp dword [ebp - 0x224], 0x10
jb 0x417306
mov edx, dword [ebp - 0x238]
push edx
call fcn.0041afda
add esp, 4
push 7
mov eax, str.value
lea ecx, [ebp - 0x2bc]
call fcn.00404c20
xor eax, eax
mov dword [ebp - 0x260], 7
mov dword [ebp - 0x264], ebx
mov word [ebp - 0x274], ax
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
push ebx
mov eax, 0x44f6b0
lea esi, [ebp - 0x274]
mov byte [ebp - 4], 9
call fcn.00404070
mov eax, dword [ebp - 0x400]
mov byte [ebp - 4], 0xa
mov esi, dword [eax + 0xa0]
cmp esi, dword [eax + 0xa4]
je 0x4173c0
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x41737a
mov eax, dword [eax]
mov ecx, eax
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417380
sub ecx, edi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x274]
call fcn.00412880
push 1
mov eax, 0x451260
lea ecx, [ebp - 0x274]
call fcn.00412880
mov ecx, dword [ebp - 0x400]
add esi, 8
cmp esi, dword [ecx + 0xa4]
jne 0x417370
mov eax, ecx
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x3f8], ecx
cmp ecx, dword [eax + 0xa4]
je 0x4174eb
jmp 0x4173e6
mov ecx, dword [ebp - 0x3f8]
mov eax, 0x4501c4
cmp dword [ecx + 4], ebx
jne 0x4173f5
mov eax, 0x450a60
xor edx, edx
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x248], dx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov ecx, eax
mov byte [ebp - 4], 0xc
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417430
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x248]
call fcn.00404070
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x248]
mov edi, 8
cmp dword [ebp - 0x234], edi
jae 0x417464
mov eax, esi
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417470
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x274]
call fcn.00412880
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x4174a2
push eax
call fcn.0041afda
add esp, 4
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
cmp dword [ebp - 0x234], edi
jb 0x4174cb
mov eax, dword [ebp - 0x248]
push eax
call fcn.0041afda
add esp, 4
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [ebp - 0x400]
add eax, edi
mov dword [ebp - 0x3f8], eax
cmp eax, dword [ecx + 0xa4]
jne 0x4173e0
cmp dword [ebp - 0x260], 8
mov eax, dword [ebp - 0x274]
jae 0x417500
lea eax, [ebp - 0x274]
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov ecx, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x3fc], esp
mov word [esi], dx
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x417520
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00404070
lea ebx, [ebp - 0x238]
call fcn.00405e50
add esp, 0x1c
xor esi, esi
push esi
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2bc]
mov byte [ebp - 4], 0xe
call fcn.00405200
cmp dword [ebp - 0x224], 0x10
jb 0x417571
mov eax, dword [ebp - 0x238]
push eax
call fcn.0041afda
add esp, 4
mov eax, dword [ebp - 0x258]
cmp eax, esi
je 0x417584
push eax
call fcn.0041afda
add esp, 4
mov ebx, 8
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
cmp dword [ebp - 0x260], ebx
jb 0x4175b2
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.0041afda
add esp, 4
mov eax, dword [ebp - 0x284]
xor edx, edx
mov edi, 7
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x264], esi
mov word [ebp - 0x274], dx
cmp eax, esi
je 0x4175df
push eax
call fcn.0041afda
add esp, 4
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], esi
cmp dword [ebp - 0x28c], ebx
jb 0x417608
mov eax, dword [ebp - 0x2a0]
push eax
call fcn.0041afda
add esp, 4
mov eax, dword [ebp - 0x2cc]
xor ecx, ecx
mov dword [ebp - 0x28c], edi
mov dword [ebp - 0x290], esi
mov word [ebp - 0x2a0], cx
cmp eax, esi
je 0x417630
push eax
call fcn.0041afda
add esp, 4
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x2c4], esi
cmp dword [ebp - 0x2d4], ebx
jb 0x417659
mov edx, dword [ebp - 0x2e8]
push edx
call fcn.0041afda
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2a8], 0x10
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2d8], esi
mov word [ebp - 0x2e8], ax
jb 0x417686
mov ecx, dword [ebp - 0x2bc]
push ecx
call fcn.0041afda
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret 4