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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x54e938]
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 [0x551c14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
mov byte [ebp - 0x49], 0
cmp eax, edi
jne 0x43fa62
mov eax, dword [0x54fe0c]
mov edx, dword [eax + 0xc]
mov ecx, 0x54fe0c
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x58], 0x104
mov dword [ebp - 0x5c], edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43fa3a
mov edx, dword [ebp - 0x58]
cmp edx, edi
jge 0x43f9ce
push 0x80070057
call fcn.00447a50
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x43f9eb
push edx
lea ecx, [ebp - 0x50]
call fcn.0043fc40
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push ecx
push esi
push edi
push edi
push str.Version
push edx
call ebx
test eax, eax
jne 0x43fa30
cmp dword [ebp - 0x58], edi
jbe 0x43fa30
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x74]
push edx
push 0x551c14
push str._u._u._u._u
push esi
call fcn.0043fdef
add esp, 0x18
cmp eax, 4
je 0x43fa30
mov dword [0x551c14], edi
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fa5d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [0x551c14]
cmp eax, 7
ja 0x43fb34
cmp dword [ebp + 8], edi
je 0x43fc09
mov ecx, dword [0x5513c0]
push 0x31
lea eax, [ebp - 0x48]
push eax
call fcn.0045e398
mov eax, dword [0x5513c0]
lea esi, [eax + 4]
push esi
mov dword [ebp - 4], 1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x51]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 0xd
add ecx, 3
push ecx
mov ecx, dword [0x5513c0]
lea edx, [ebp - 0x2c]
push edx
call fcn.0045e398
mov ecx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x43fad4
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x43fadf
lea eax, [ebp - 0x48]
push 0x30
push ecx
mov ecx, dword [0x5513c0]
push eax
call fcn.00447770
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x18], esi
jb 0x43fb06
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x43fc09
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406ec9
add esp, 4
jmp 0x43fc09
cmp byte [0x551c10], 0
je 0x43fb46
mov byte [ebp - 0x49], 1
jmp 0x43fc09
cmp eax, 8
jne 0x43fb54
mov dword [ebp - 0x50], 0x22b8
jmp 0x43fb66
xor ecx, ecx
cmp eax, 9
setne cl
lea ecx, [ecx + ecx + 0x270f]
mov dword [ebp - 0x50], ecx
push edi
lea edx, [ebp - 0x54]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push 0x80000001
mov dword [ebp - 0x54], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43fc09
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x68]
push edx
push edi
push 0x531d74
mov esi, 4
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
call ebx
cmp eax, 2
jne 0x43fbd2
mov edx, dword [ebp - 0x54]
push esi
lea ecx, [ebp - 0x50]
push ecx
push esi
push edi
push 0x531d74
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43fbff
jmp 0x43fbf4
cmp eax, edi
jne 0x43fbff
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
je 0x43fbf4
mov edx, dword [ebp - 0x54]
push esi
lea ecx, [ebp - 0x50]
push ecx
push esi
push edi
push 0x531d74
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [0x551c10], 1
mov byte [ebp - 0x49], 1
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x49]
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.00401316
mov esp, ebp
pop ebp
ret