Function at 0x438a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x45b660]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.HTTP_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x438a9b
jmp 0x438ca0
mov word [ebp - 0x230], 0
push 0x206
push 0
lea ecx, [ebp - 0x22e]
push ecx
call fcn.0041cd40
add esp, 0xc
mov dword [ebp - 0xc], 0x104
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x438aeb
jmp 0x438ca0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x230]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
add eax, 2
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x458]
mov dx, word [ecx]
mov word [ebp - 0x45e], dx
add dword [ebp - 0x458], 2
cmp word [ebp - 0x45e], 0
jne 0x438b0d
mov eax, dword [ebp - 0x458]
sub eax, dword [ebp - 0x45c]
sar eax, 1
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x464]
sub ecx, 1
mov dword [ebp - 0x18], ecx
movzx edx, word [ebp - 0x230]
cmp edx, 0x22
jne 0x438b61
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x230]
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
add ecx, 2
mov dword [ebp - 0x46c], ecx
mov edx, dword [ebp - 0x468]
mov ax, word [edx]
mov word [ebp - 0x46e], ax
add dword [ebp - 0x468], 2
cmp word [ebp - 0x46e], 0
jne 0x438b7c
mov ecx, dword [ebp - 0x468]
sub ecx, dword [ebp - 0x46c]
sar ecx, 1
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp - 0x474]
sub edx, 1
mov dword [ebp - 0x234], edx
jmp 0x438bd1
mov eax, dword [ebp - 0x234]
sub eax, 1
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp - 0x1c]
jle 0x438c4d
mov word [ebp - 0x23c], 0
xor edx, edx
mov dword [ebp - 0x23a], edx
mov word [ebp - 0x236], dx
push 3
mov eax, dword [ebp - 0x234]
lea ecx, [ebp + eax*2 - 0x234]
push ecx
push 4
lea edx, [ebp - 0x23c]
push edx
call fcn.0041e057
add esp, 0x10
mov word [ebp - 0x236], 0
push 0x44f830
lea eax, [ebp - 0x23c]
push eax
call fcn.0041bb45
add esp, 8
test eax, eax
jne 0x438c48
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 1
jmp 0x438c4d
jmp 0x438bc2
cmp dword [ebp - 0x10], 0
je 0x438ca0
mov edx, dword [ebp + 8]
mov word [edx], 0x22
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + ecx*2 - 0x230]
push edx
push 0x103
mov eax, dword [ebp + 8]
add eax, 2
push eax
call fcn.0041e057
add esp, 0x10
push 0x44f838
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041bdd7
add esp, 0xc
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
je 0x438cb0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x438d79
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x240]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x438d63
mov word [ebp - 0x450], 0
push 0x206
push 0
lea edx, [ebp - 0x44e]
push edx
call fcn.0041cd40
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x450]
push ecx
lea edx, [ebp - 0x244]
push edx
push 0
push str.ProgramFilesDir
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
jne 0x438d63
lea ecx, [ebp - 0x450]
push ecx
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.0041b40e
add esp, 0x10
mov dword [ebp - 4], 1
cmp dword [ebp - 0x240], 0
je 0x438d79
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0041b397
mov esp, ebp
pop ebp
ret