Function at 0x4a7f00
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 0x5615e8
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.004afc90
mov ebx, dword [ebp + 8]
test eax, eax
mov ecx, ebx
je 0x4a7f40
call fcn.004a84f0
jmp 0x4a7f45
call fcn.004a89d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1c], eax
call fcn.004a7a10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004a7a10
mov edx, dword [0x5c74a0]
mov ecx, dword [0x5c7b34]
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, reloc.WSOCK32.dll_bind
push ecx
push edx
mov byte [ebp - 4], 2
call edi
mov esi, eax
test esi, esi
je 0x4a80f0
cmp esi, 2
je 0x4a8027
mov eax, dword [0x5c2a74]
mov dword [ebp + 8], eax
mov eax, dword [0x5c74a0]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4a7fc5
mov eax, str.MACHINE
mov ecx, dword [0x5c7b34]
lea edx, [ebp + 8]
push ecx
push eax
push 0x5a4824
push edx
call fcn.0053afda
mov eax, dword [ebp + 8]
add esp, 0x10
lea ecx, [ebp - 0x40]
push eax
call fcn.004a7ac0
test eax, eax
je 0x4a801b
mov eax, dword [0x5c74a0]
mov edx, dword [0x5c7b34]
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, reloc.WSOCK32.dll_bind
push edx
push eax
call edi
mov esi, eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.005421be
test esi, esi
je 0x4a80f0
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 reloc.WSOCK32.dll_accept
call edi
test eax, eax
je 0x4a80f0
mov edx, dword [0x5c2a74]
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.0053afda
mov ecx, dword [ebp + 8]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x30]
call fcn.004a7ac0
test eax, eax
je 0x4a80e4
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 reloc.WSOCK32.dll_accept
call edi
test eax, eax
je 0x4a80e4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.005421be
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004a7a50
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004a7a50
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.005421be
lea eax, [ebp - 0x18]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5a3d58
push reloc.WSOCK32.dll_bind
call edi
test eax, eax
jne 0x4a81d4
lea ecx, [ebp + 8]
lea edx, [ebp - 0x1f4]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push eax
push eax
mov eax, dword [0x5c787c]
push eax
push ecx
mov dword [ebp + 8], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a81d4
lea edx, [ebx + 0x200]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push edx
mov edx, dword [0x5c7878]
push 1
push eax
mov eax, dword [ebp - 0x18]
push edx
push eax
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
mov ecx, dword [0x5c7874]
push edx
mov edx, dword [ebp - 0x18]
push 1
push eax
push ecx
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
mov ecx, dword [ebp - 0x18]
push edx
push 1
push eax
mov eax, dword [0x5c7870]
push eax
push ecx
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
push edx
mov edx, dword [0x5c787c]
push 1
push eax
mov eax, dword [ebp - 0x18]
push edx
push eax
call esi
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x1c0]
push 0x80
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c0]
push ecx
push 0x1001
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x4a8310
push 0xa
lea edx, [ebp - 0x1c0]
push str.Vietnamese
push edx
call fcn.00528c80
add esp, 0xc
test eax, eax
jne 0x4a8310
mov eax, dword [0x5c2a74]
mov dword [ebp - 0x20], eax
lea ecx, [ebx + 0x1ce]
lea edx, [ebp - 0x20]
push ecx
push str.http:__www.internetdownloadmanager.com_invalid_serial.html
push 0x5a5e08
push edx
mov byte [ebp - 4], 5
call fcn.0053afda
mov eax, dword [ebp - 0x20]
add esp, 0x10
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [0x5c7c08]
push 0
push str.Warning_
push ecx
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 pe_nt_image_headers32
push ecx
lea ecx, [ebx + 0x298]
call fcn.004a3e60
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x140]
push pe_nt_image_headers32
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.0x4a831c
jmp dword [eax*4 + 0x4a8434]
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 0x4a8365
lea edx, [ebp - 0x140]
mov edi, str.8rfBNCxfygfTRtr43JKLKw
jmp 0x4a8365
lea edx, [ebp - 0x140]
mov edi, str.gt678Dfd231e_gfqrd6t5
jmp 0x4a8365
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 pe_nt_image_headers32
push ecx
lea ecx, [ebx + 0x298]
call fcn.004a3e60
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x140]
push pe_nt_image_headers32
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 0x4a83dc
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
test esi, esi
jne 0x4a83f5
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4a83ed
cmp eax, 2
jne 0x4a83f5
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004a7a50
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004a7a50
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