Function at 0x10002c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x8c
mov eax, Ordinal_1
mov dword [esp], eax
lea eax, str.MIMEDatabaseCodepage
mov dword [esp + 4], eax
lea eax, [ebp - 0x14]
mov dword [esp + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
sub esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x10002c95
mov dword [ebp - 8], 0
jmp 0x10002ebd
mov dword [ebp - 0xc], 0
mov eax, 0x64
cmp dword [ebp - 0xc], eax
jae 0x10002ea7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 0xc]
imul edx, dword [edx + 8], 0x1c
add ecx, edx
cmp eax, ecx
jae 0x10002e94
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
mov dword [esp], eax
mov dword [ebp - 0x60], ecx
call pe_dos_header
lea ecx, [ebp - 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x1000ab60]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0xc], eax
call fcn.10009470
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x18]
mov dword [esp + 8], ecx
mov dword [ebp - 0x64], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
sub esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x10002d33
jmp 0x10002e86
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x14]
mov edx, esp
mov dword [edx], ecx
mov dword [ebp - 0x68], eax
call sub.MSVCRT.dll_strlen
add eax, 1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esp], edx
lea edx, str.BodyCharset
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [edx + 4]
jne 0x10002e37
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
mov edx, esp
mov dword [edx], ecx
mov dword [ebp - 0x6c], eax
call sub.MSVCRT.dll_strlen
add eax, 1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ebp - 0x18]
mov dword [esp], edx
lea edx, str.FixedWidthFont
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x14]
mov esi, esp
mov dword [esi], edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ecx
call sub.MSVCRT.dll_strlen
add eax, 1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esp], edx
lea edx, [0x1000a35c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
jmp 0x10002e77
xor eax, eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov edx, dword [ebp - 0x18]
mov dword [esp], edx
lea edx, str.Family
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
mov dword [ebp - 0x78], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov dword [ebp - 0x10], eax
jmp 0x10002cb3
jmp 0x10002e99
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov dword [ebp - 0xc], eax
jmp 0x10002c9c
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
add esp, 0x8c
pop esi
pop ebp
ret