Function at 0x4a15a0
Capabilities:
Create process on windows
Get geographical location
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
call fcn.004a8ad0
mov ebx, dword [ebp + 8]
test eax, eax
mov ecx, ebx
je 0x4a15e0
call fcn.004a1b80
jmp 0x4a15e5
call fcn.004a2060
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1c], eax
call fcn.004a10b0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004a10b0
mov edx, dword [0x5ba8ac]
mov ecx, dword [0x5baedc]
lea eax, [ebp - 0x14]
push 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
neg edx
push 0
push 0
sbb edx, edx
push 0
add edx, 0x80000002
push ecx
push edx
mov byte [ebp - 4], 2
call edi
mov esi, eax
test esi, esi
je 0x4a1790
cmp esi, 2
je 0x4a16c7
mov eax, dword [0x5b5ecc]
mov dword [ebp + 8], eax
mov eax, dword [0x5ba8ac]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4a1665
mov eax, str.MACHINE
mov ecx, dword [0x5baedc]
lea edx, [ebp + 8]
push ecx
push eax
push 0x5987d4
push edx
call fcn.0053091a
mov eax, dword [ebp + 8]
add esp, 0x10
lea ecx, [ebp - 0x40]
push eax
call fcn.004a1160
test eax, eax
je 0x4a16bb
mov eax, dword [0x5ba8ac]
mov edx, dword [0x5baedc]
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
neg eax
push 0xf003f
push 0
sbb eax, eax
push 0
push 0
add eax, 0x80000002
push edx
push eax
call edi
mov esi, eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00537b04
test esi, esi
je 0x4a1790
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push 0x80000001
call edi
test eax, eax
je 0x4a1790
mov edx, dword [0x5b5ecc]
mov dword [ebp + 8], edx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea eax, [ebp + 8]
push str.CURRENT_USER_s
push eax
mov byte [ebp - 4], 4
call fcn.0053091a
mov ecx, dword [ebp + 8]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x30]
call fcn.004a1160
test eax, eax
je 0x4a1784
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
push 0x80000001
call edi
test eax, eax
je 0x4a1784
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00537b04
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004a10f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004a10f0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00537b04
lea eax, [ebp - 0x18]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREInternet_Download_Manager
push 0x80000002
call edi
test eax, eax
jne 0x4a186c
lea ecx, [ebp + 8]
lea edx, [ebp - 0x1f4]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x18]
push str.Serial
push eax
mov dword [ebp + 8], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a186c
lea edx, [ebx + 0x200]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push 1
push eax
push str.FName
push ecx
call esi
lea edx, [ebx + 0x232]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp - 0x18]
push 1
push eax
push str.LName
push edx
call esi
lea edx, [ebx + 0x264]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [ebp - 0x18]
push 0x59b048
push eax
call esi
lea edx, [ebx + 0x1ce]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push 1
push eax
push str.Serial
push ecx
call esi
lea edx, [ebp - 0x1c0]
push 0x80
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x1c0]
push edx
push 0x1001
push 0x800
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x4a19a9
push 0xa
lea eax, [ebp - 0x1c0]
push str.Vietnamese
push eax
call fcn.0051e650
add esp, 0xc
test eax, eax
jne 0x4a19a9
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x20], ecx
lea edx, [ebx + 0x1ce]
lea eax, [ebp - 0x20]
push edx
push str.http:__www.internetdownloadmanager.com_invalid_serial.html
push 0x599c8c
push eax
mov byte [ebp - 4], 5
call fcn.0053091a
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [0x5bafb0]
push 0
push str.Warning_
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, str.y8FDy6hb_45v_21t5bX567m_l9
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.58BE20ast4si5ls2D13
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.58BE20ast4si5ls2D13
lea ecx, [ebp - 0x140]
push 0x100
push ecx
lea ecx, [ebx + 0x298]
call fcn.0049d240
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x140]
push 0x100
push edx
push 0
push 0
push str.MData
push eax
mov byte [ebp - 0x41], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x1c]
cmp eax, 3
ja case.default.0x4a19b5
jmp dword [eax*4 + 0x4a1ad0]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x140]
lea edx, [ebp - 0x140]
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x1ce]
jmp 0x4a19fe
lea edx, [ebp - 0x140]
mov edi, str.8rfBNCxfygfTRtr43JKLKw
jmp 0x4a19fe
lea edx, [ebp - 0x140]
mov edi, str.gt678Dfd231e_gfqrd6t5
jmp 0x4a19fe
lea edx, [ebp - 0x140]
mov edi, str.y8FDy6hb_45v_21t5bX567m_l9
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.58BE20ast4si5ls2D13
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.58BE20ast4si5ls2D13
lea ecx, [ebp - 0x140]
push 0x100
push ecx
lea ecx, [ebx + 0x298]
call fcn.0049d240
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x140]
push 0x100
push edx
push 0
push 0
push str.MData
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [ebx + 8]
test ebx, ebx
je 0x4a1a75
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
test esi, esi
jne 0x4a1a8e
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4a1a86
cmp eax, 2
jne 0x4a1a8e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004a10f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004a10f0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret