Function at 0x43d2f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d787c
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x50e018]
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 + 0x28]
mov edi, ecx
mov dword [ebp - 0x54], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], ebx
jne 0x43d3e2
lea esi, [ebp - 0x48]
call fcn.0042e480
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x43d353
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp + 0x18], ebx
jne 0x43d3e7
movzx edx, byte [0x5130be]
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 0x49], dl
call fcn.00404920
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ecx + 4]
push ebx
push ebx
lea ecx, [ebp + ecx - 0x110]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
movzx edx, byte [ebp - 0x49]
mov byte [ebp - 0x67], dl
mov dword [ebp - 0x60], 7
mov byte [ebp - 0x68], 1
mov dword [ebp - 0x64], ebx
lea eax, [ebp - 0x100]
push str._if_Failed_to_get_Module_Name
push eax
mov byte [ebp - 4], 2
call fcn.00405c70
add esp, 8
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], bl
call fcn.00458570
cmp dword [ebp + 0x1c], esi
jb 0x43d3db
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x43d560
mov esi, 0x10
push 0x39
push str.SoftwareMicrosoftInternet_ExplorerMAINFeatureControl_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00405360
mov eax, edi
mov byte [ebp - 4], 3
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43d410
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040e4c0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x18], esi
jae 0x43d431
lea eax, [ebp - 0x2c]
push ebx
lea edx, [ebp - 0x50]
push edx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x43d4f7
movzx eax, byte [0x5130be]
lea ecx, [ebp - 0x110]
push ecx
mov byte [ebp - 0x49], al
call fcn.00404920
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x110]
mov ecx, dword [edx + 4]
push ebx
push ebx
lea ecx, [ebp + ecx - 0x110]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
movzx eax, byte [ebp - 0x49]
mov byte [ebp - 0x67], al
mov dword [ebp - 0x60], 7
mov byte [ebp - 0x68], 1
mov dword [ebp - 0x64], ebx
lea ecx, [ebp - 0x100]
push str._if_Failed_to_create_key:
push ecx
mov byte [ebp - 4], 5
call fcn.00405c70
add esp, 8
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 3
call fcn.00458570
cmp dword [ebp - 0x18], esi
jb 0x43d4d0
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], esi
jb 0x43d3db
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x43d560
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x43d502
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp - 0x50]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
sete byte [ebp - 0x49]
cmp dword [ebp - 0x18], esi
jb 0x43d53e
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], esi
jb 0x43d55d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.004a665a
mov esp, ebp
pop ebp
ret