Function at 0x4c24d0
Capabilities:
Query or enumerate registry value
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542176
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x5854b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x350], ecx
mov ecx, dword [ebp - 0x350]
call fcn.004bfa80
movzx eax, al
test eax, eax
jne 0x4c251a
xor al, al
jmp 0x4c28c9
cmp dword [ebp - 0x350], 0
je 0x4c2537
mov ecx, dword [ebp - 0x350]
add ecx, 0x610
mov dword [ebp - 0x368], ecx
jmp 0x4c2541
mov dword [ebp - 0x368], 0
mov edx, dword [ebp - 0x368]
push edx
mov eax, dword [ebp - 0x350]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00436810
mov ecx, dword [ebp - 0x350]
add ecx, 0x618
push ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x56dc68]
mov dword [edx], eax
mov ecx, dword [0x56dc6c]
mov dword [edx + 4], ecx
mov eax, dword [0x56dc70]
mov dword [edx + 8], eax
mov ecx, dword [0x56dc74]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x350]
call fcn.004c0260
mov dword [ebp - 0x354], str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0__SMT_
mov dword [ebp - 0x358], 0
lea edx, [ebp - 0x358]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
jne 0x4c2740
cmp dword [ebp - 0x358], 0
je 0x4c2740
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00511800
add esp, 0xc
mov dword [ebp - 0x36c], 0x208
lea ecx, [ebp - 0x36c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push str.Version
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
jne 0x4c2733
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00419d10
push 0
push 0x55ac6c
lea ecx, [ebp - 0x230]
call fcn.0047f880
test eax, eax
jne 0x4c267d
mov dword [ebp - 0x354], str.Mozilla_5.0__Windows_NT_10.0_Trident_7.0_rv:11.0__like_Gecko
jmp 0x4c2728
push 0
push 0x55acb4
lea ecx, [ebp - 0x230]
call fcn.0047f880
test eax, eax
jne 0x4c26a2
mov dword [ebp - 0x354], str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_10.0_Trident_7.0_
jmp 0x4c2728
push 0
push 0x55ad04
lea ecx, [ebp - 0x230]
call fcn.0047f880
test eax, eax
jne 0x4c26c4
mov dword [ebp - 0x354], str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_7.1__Trident_5.0_
jmp 0x4c2728
push 0
push 0x55ad50
lea ecx, [ebp - 0x230]
call fcn.0047f880
test eax, eax
jne 0x4c26e6
mov dword [ebp - 0x354], str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_4.0_
jmp 0x4c2728
push 0
push 0x55ad98
lea ecx, [ebp - 0x230]
call fcn.0047f880
test eax, eax
jne 0x4c2708
mov dword [ebp - 0x354], str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0__SMT_
jmp 0x4c2728
push 0
push 0x55ada0
lea ecx, [ebp - 0x230]
call fcn.0047f880
test eax, eax
jne 0x4c2728
mov dword [ebp - 0x354], str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SMT_
lea ecx, [ebp - 0x230]
call fcn.00428550
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x35c], 0
push 0x55ade0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
je 0x4c277c
push str.UrlMkSetSessionOption
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
je 0x4c2838
mov ecx, dword [ebp - 0x354]
push ecx
lea ecx, [ebp - 0x34c]
call fcn.004238b0
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x374], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x374]
call fcn.00406cd0
push eax
lea ecx, [ebp - 0x248]
call fcn.00419d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34c]
call fcn.00423980
lea ecx, [ebp - 0x248]
call fcn.00457ae0
push eax
mov ecx, dword [ebp - 0x350]
call fcn.004c3fb0
push 0
push 0
push 0
push 0x10000002
call dword [ebp - 0x35c]
push 0
mov eax, dword [ebp - 0x354]
push eax
call fcn.005229d0
add esp, 4
push eax
mov ecx, dword [ebp - 0x354]
push ecx
push 0x10000001
call dword [ebp - 0x35c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00428550
cmp dword [ebp - 0x360], 0
je 0x4c284e
mov edx, dword [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
mov ecx, dword [ebp - 0x350]
call fcn.004c3b80
mov eax, dword [ebp - 0x350]
movzx ecx, byte [eax + 0x6ac]
test ecx, ecx
je 0x4c28a7
mov ecx, dword [ebp - 0x350]
add ecx, 0x628
call fcn.00434250
movzx edx, al
test edx, edx
jne 0x4c28a7
push 0
push 0
mov ecx, dword [ebp - 0x350]
add ecx, 0x628
call fcn.00406cd0
push eax
mov ecx, dword [ebp - 0x350]
call fcn.004c31d0
jmp 0x4c28c7
push 0
push 0
push 0
push str.UIWebbrowser_Navigate
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x350]
mov ecx, dword [ecx + 0x44]
call fcn.0043cce0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret