Function at 0x433550
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe570
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x468ad0
call fcn.004dbbc8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], 0x104
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x514264
call fcn.0041ad50
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.0046a780
add esp, 4
test al, al
je 0x4336fc
lea eax, [ebp - 0x1c]
push eax
call fcn.0046b160
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push eax
push reloc.WS2_32.dll_accept
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
call edi
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00416630
cmp esi, ebx
jne 0x433630
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push str.User
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
push ecx
push str.SoftwareUSAirwaysToolbar
push reloc.WS2_32.dll_accept
call edi
cmp eax, ebx
jne 0x433739
lea edx, [ebp - 0x20]
push edx
mov esi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push str.User
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x14]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041ad50
mov bl, 3
mov byte [ebp - 4], bl
lea eax, [ebp - 0x24]
push eax
call fcn.0046b160
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call fcn.00416630
test esi, esi
jne 0x4336dc
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 8]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00417430
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
push str.User
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x14]
push edx
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push str.SoftwareUSAirwaysToolbar
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x433739
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push ebx
push str.User
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x14]
push edx
jmp 0x433616
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret