Function at 0x4bf310
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 0x58a9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x144]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004c6ec0
test eax, eax
push 0x100
je 0x4bf36e
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x144]
push eax
mov ecx, esi
call fcn.004bf8e0
mov dword [ebp - 0x24], eax
jmp 0x4bf383
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004bfdd0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x34]
call fcn.004bee20
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004bee20
mov ecx, dword [0x63e508]
mov eax, dword [0x63ec7c]
lea edx, [ebp - 0x14]
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push 0
push 0xf003f
neg ecx
push 0
push 0
sbb ecx, ecx
push 0
add ecx, reloc.WSOCK32.dll_bind
push eax
push ecx
mov byte [ebp - 4], 2
call ebx
mov edi, eax
test edi, edi
je 0x4bf52b
cmp edi, 2
je 0x4bf462
mov edx, dword [0x639ad4]
mov dword [ebp - 0x18], edx
mov eax, dword [0x63e508]
mov byte [ebp - 4], 3
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4bf400
mov eax, str.MACHINE
mov ecx, dword [0x63ec7c]
lea edx, [ebp - 0x18]
push ecx
push eax
push 0x6168fc
push edx
call fcn.00562ecb
mov eax, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ebp - 0x34]
push eax
call fcn.004beed0
test eax, eax
je 0x4bf456
mov eax, dword [0x63e508]
mov edx, dword [0x63ec7c]
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 ebx
mov edi, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0056a100
test edi, edi
je 0x4bf52b
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 ebx
test eax, eax
je 0x4bf52b
mov edx, dword [0x639ad4]
mov dword [ebp - 0x18], edx
push str.SoftwareClassesCLSIDD5B91409_A8CA_4973_9A0B_59F713D25671
lea eax, [ebp - 0x18]
push str.CURRENT_USER_s
push eax
mov byte [ebp - 4], 4
call fcn.00562ecb
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x44]
call fcn.004beed0
test eax, eax
je 0x4bf51f
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 ebx
test eax, eax
je 0x4bf51f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0056a100
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004bee60
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004bee60
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 - 0x18]
mov byte [ebp - 4], 2
call fcn.0056a100
lea eax, [ebp - 0x1c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x615dd0
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
jne 0x4bf611
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1f8]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push eax
push eax
mov eax, dword [0x63e9c4]
push eax
push ecx
mov dword [ebp - 0x20], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4bf611
lea edx, [esi + 0x200]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push edx
mov edx, dword [0x63e9c0]
push 1
push eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call ebx
lea edx, [esi + 0x232]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [0x63e9bc]
push edx
mov edx, dword [ebp - 0x1c]
push 1
push eax
push ecx
push edx
call ebx
lea edx, [esi + 0x264]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 1
push eax
mov eax, dword [0x63e9b8]
push eax
push ecx
call ebx
lea edx, [esi + 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 [0x63e9c4]
push 1
push eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call ebx
jmp 0x4bf617
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x1c4]
push 0x80
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c4]
push ecx
push 0x1001
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x4bf753
push 0xa
lea edx, [ebp - 0x1c4]
push str.Vietnamese
push edx
call fcn.005501e0
add esp, 0xc
test eax, eax
jne 0x4bf753
mov eax, dword [0x639ad4]
mov dword [ebp - 0x20], eax
add esi, 0x1ce
lea ecx, [ebp - 0x20]
push esi
push str.http:__www.internetdownloadmanager.com_invalid_serial.html
push 0x617ffc
push ecx
mov byte [ebp - 4], 5
call fcn.00562ecb
mov edx, dword [ebp - 0x20]
add esp, 0x10
push 1
push 0
push 0
push edx
push 0x615e54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [0x63ed50]
push 0
push str.Warning_
push eax
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 - 0x144]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x63f55c]
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, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push 0x100
push ecx
lea ecx, [edx + 0x298]
call fcn.0042ea30
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x144]
push 0x100
push eax
push 0
push 0
push str.MData
push ecx
mov byte [ebp - 0x45], 0
call ebx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [ebp - 0x24]
cmp edi, 3
ja case.default.0x4bf75b
jmp dword [edi*4 + 0x4bf82c]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x144]
push 0x100
push edx
push 0
push 0
push str.MData
push eax
jmp 0x4bf7b1
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x144]
push 0x100
push ecx
push 0
push 0
push str.MData
push edx
jmp 0x4bf7b1
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x144]
push 0x100
push eax
push 0
push 0
push str.MData
push ecx
call ebx
mov ebx, dword [esi + 8]
test esi, esi
je 0x4bf7c2
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test ebx, ebx
jne 0x4bf7d8
cmp edi, 1
je 0x4bf7d0
cmp edi, 2
jne 0x4bf7d8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004bee60
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004bee60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret