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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487ecc
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4b91d0]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x238], ecx
push str.SoftwareMicrosoftInternet_ExplorerMain
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
call fcn.00401c20
push str.Start_Page
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.00401c20
mov ebx, 1
mov byte [ebp - 4], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x224]
push ecx
push 0xf013f
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x230]
push 0
push edx
push 0x80000002
mov dword [ebp - 0x224], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x438962
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.00468ee0
add esp, 0xc
lea edx, [ebp - 0x23c]
push edx
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
push ecx
push esi
push edx
push eax
mov dword [ebp - 0x23c], 0x208
mov dword [ebp - 0x234], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438890
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00401b20
mov ebx, dword [ebp - 0x220]
lea edi, [ebp - 0x228]
call fcn.00439160
test al, al
jne 0x43894e
mov edx, dword [ebp - 0x238]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff0
push eax
lea esi, [ecx + ecx]
call fcn.004015c0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
cmp dword [edi - 4], 1
jle 0x43890d
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401960
mov edi, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x224]
push esi
push edi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43894e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
test esi, esi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x228]
sete byte [ebp - 0x219]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43898e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4389b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4389dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x219]
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.004653d5
mov esp, ebp
pop ebp
ret 4