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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486f7c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4ba1f0]
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.00402390
push str.Start_Page
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.00402390
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], VariantClear
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x439b02
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004690e0
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 0x439a30
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00402290
mov ebx, dword [ebp - 0x220]
lea edi, [ebp - 0x228]
call fcn.00439cf0
test al, al
jne 0x439aee
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.00401d20
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
cmp dword [edi - 4], 1
jle 0x439aad
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x220]
call fcn.004020c0
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 0x439aee
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 0x439b2e
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 0x439b54
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 0x439b7d
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.004657f5
mov esp, ebp
pop ebp
ret 4