Function at 0x437310
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x46a70b
mov eax, dword fs:[0]
push eax
sub esp, 0x580
mov eax, dword [0x483260]
xor eax, esp
mov dword [esp + 0x578], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483260]
xor eax, esp
push eax
lea eax, [esp + 0x594]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5a4]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x18]
push ecx
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov dword [esp + 0x5ac], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4375f4
mov esi, dword [esp + 0x18]
push 0x64
lea edx, [esp + 0x48]
push ebx
push edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
call fcn.0043e180
add esp, 0xc
push 0x64
lea eax, [esp + 0xb0]
push ebx
push eax
call fcn.0043e180
add esp, 0xc
xor eax, eax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x398]
push ecx
push eax
mov edi, 0x104
push esi
mov dword [esp + 0x50], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43758b
lea edx, [esp + 0x14]
push edx
push 1
push ebx
lea eax, [esp + 0x390]
push eax
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x20], ebx
cmp eax, ebx
jne 0x437579
mov ebp, dword [esp + 0x14]
push 0x4787e4
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], edi
push ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x184]
mov dword [esp + 0x24], ebp
call fcn.00435400
test eax, eax
jne 0x437562
lea edx, [esp + 0x24]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
call fcn.00436f80
add esp, 8
test eax, eax
je 0x437471
cmp dword [esp + 0x24], ebx
je 0x437562
push 0x64
lea ecx, [esp + 0x118]
push ebx
push ecx
call fcn.0043e180
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x11c]
call fcn.00437190
add esp, 8
test eax, eax
je 0x437562
cmp dword [esp + 0x14], ebx
je 0x43750b
cmp byte [esp + 0xac], bl
je 0x4374d5
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x437562
lea eax, [esp + 0xac]
lea esi, [esp + 0x114]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x43755b
mov cl, byte [esi + eax]
cmp cl, bl
je 0x43755b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4374f0
jmp 0x43755f
cmp byte [esp + 0x44], bl
je 0x437528
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x437562
lea eax, [esp + 0x44]
lea esi, [esp + 0x114]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x43755b
mov cl, byte [esi + eax]
cmp cl, bl
je 0x43755b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x437540
jmp 0x43755f
cmp edx, ebx
jne 0x437560
dec eax
mov byte [eax], bl
cmp ebp, ebx
je 0x437571
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x64
mov dword [esp + 0x2c], eax
jl 0x4373c0
cmp byte [esp + 0x44], bl
je 0x4375c2
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x437598
sub eax, edx
push eax
lea edx, [esp + 0x48]
push edx
mov eax, dword [esp + 0x30]
call fcn.00425b22
cmp esi, ebx
je 0x4375bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4375f6
cmp byte [esp + 0xac], bl
je 0x4375e9
lea eax, [esp + 0xac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4375d5
sub eax, edx
push eax
lea eax, [esp + 0xb0]
push eax
jmp 0x4375a7
cmp esi, ebx
je 0x4375f4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x594]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x578]
xor ecx, esp
call fcn.0043b103
add esp, 0x58c
ret