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

Disassembly:
sub esp, 0xcc
mov eax, dword [0x4063c0]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xd0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
mov ebx, 0x40743c
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x5265c00
div ecx
push 0x404450
push ebx
mov ebp, eax
call fcn.004031af
pop ecx
pop ecx
push 0x16
lea eax, [esp + 0xc4]
push eax
push 7
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0xc0]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x402f1d
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f29
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f42
mov ax, word [0x404454]
push ebp
mov word [edi], ax
lea eax, [esp + 0xbc]
push 0x404458
push eax
call fcn.004031af
lea edx, [esp + 0xc4]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x402f72
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f7e
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f97
mov ax, word [0x404454]
mov word [edi], ax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x403051
cmp dword [esp + 0x1c], 4
jne 0x403007
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x402fef
cmp dword [esp + 0x28], 1
mov edx, 0x404460
cmovne edx, dword [esp + 0x14]
cmp dword [esp + 0x28], 2
jne 0x403056
mov edx, 0x404464
jmp 0x403056
cmp eax, 0xa
jne 0x402ffb
mov edx, 0x404468
jmp 0x403056
cmp eax, 0x5a
jne 0x40304a
mov edx, 0x40446c
jmp 0x403056
cmp dword [esp + 0x1c], 5
jne 0x403035
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40301d
mov edx, 0x404470
jmp 0x403056
cmp eax, 1
jne 0x403029
mov edx, 0x404474
jmp 0x403056
cmp eax, 2
jne 0x40304a
mov edx, 0x404478
jmp 0x403056
cmp dword [esp + 0x1c], 6
jne 0x40304a
cmp dword [esp + 0x20], 0
jne 0x40304a
mov edx, 0x40447c
jmp 0x403056
mov edx, 0x404480
jmp 0x403056
mov edx, 0x404484
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x403058
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403064
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40307d
mov ax, word [0x404454]
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.MSNHiddenWindowClass
mov word [edi], ax
mov byte [esp + 0x1b], 0
call esi
test eax, eax
je 0x4030bf
mov byte [esp + 0x13], 1
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4030ae
mov ax, word [0x4044a0]
mov word [edi], ax
push 0
push str.YahooBuddyMain
call esi
test eax, eax
je 0x4030e5
mov byte [esp + 0x13], 1
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4030d4
mov ax, word [0x4044b4]
mov word [edi], ax
push 0
push str.Xfire
call esi
test eax, eax
je 0x403108
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4030f5
mov ax, word [0x4044c0]
mov word [edi], ax
jmp 0x40310f
cmp byte [esp + 0x13], 1
jne 0x403123
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403112
mov ax, word [0x404454]
mov word [edi], ax
push 6
call fcn.00402d8b
pop ecx
mov ecx, eax
lea edx, [esp + 0xac]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x403136
lea edi, [esp + 0xac]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403148
mov ax, word [0x4044c4]
lea edx, [esp + 0xac]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x403162
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40316e
mov eax, dword [esp + 0x14]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, eax
and ecx, 3
sub edx, ebx
rep movsb byte es:[edi], byte [esi]
mov cl, byte [ebx]
mov byte [edx + ebx], cl
inc ebx
test cl, cl
jne 0x40318c
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004031c9
add esp, 0xcc
ret