Function at 0x481bd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a29e6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_7837]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 4
call fcn.0047a520
add esp, 8
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], eax
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x481c84
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x481da1
push str.DWORD
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x481cc9
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push 4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], eax
push 4
push 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov eax, dword [ebp - 0x14]
push eax
jmp 0x481d99
push str.STRING
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x481cf7
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
inc eax
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 1
jmp 0x481d89
push str.MULTI_STRING
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x481d32
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
inc eax
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 7
push 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov edx, dword [ebp - 0x14]
push eax
push edx
jmp 0x481d99
push str.EXPANDABLE_STRING
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x481d60
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
inc eax
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 2
jmp 0x481cb4
push str.NONE
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x481da1
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
inc eax
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0
push 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret