Function at 0x402da8
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 0x4044a4
push ebx
mov ebp, eax
call fcn.004030ab
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 0x402e19
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402e25
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 0x402e3e
mov ax, word [0x4044a8]
push ebp
mov word [edi], ax
lea eax, [esp + 0xbc]
push 0x4044ac
push eax
call fcn.004030ab
lea edx, [esp + 0xc4]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x402e6e
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402e7a
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 0x402e93
mov ax, word [0x4044a8]
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 0x402f4d
cmp dword [esp + 0x1c], 4
jne 0x402f03
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x402eeb
cmp dword [esp + 0x28], 1
mov edx, 0x4044b4
cmovne edx, dword [esp + 0x14]
cmp dword [esp + 0x28], 2
jne 0x402f52
mov edx, 0x4044b8
jmp 0x402f52
cmp eax, 0xa
jne 0x402ef7
mov edx, 0x4044bc
jmp 0x402f52
cmp eax, 0x5a
jne 0x402f46
mov edx, 0x4044c0
jmp 0x402f52
cmp dword [esp + 0x1c], 5
jne 0x402f31
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x402f19
mov edx, 0x4044c4
jmp 0x402f52
cmp eax, 1
jne 0x402f25
mov edx, 0x4044c8
jmp 0x402f52
cmp eax, 2
jne 0x402f46
mov edx, 0x4044cc
jmp 0x402f52
cmp dword [esp + 0x1c], 6
jne 0x402f46
cmp dword [esp + 0x20], 0
jne 0x402f46
mov edx, 0x4044d0
jmp 0x402f52
mov edx, 0x4044d4
jmp 0x402f52
mov edx, 0x4044d8
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x402f54
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f60
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 0x402f79
mov ax, word [0x4044a8]
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 0x402fbb
mov byte [esp + 0x13], 1
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402faa
mov ax, word [0x4044f4]
mov word [edi], ax
push 0
push str.YahooBuddyMain
call esi
test eax, eax
je 0x402fe1
mov byte [esp + 0x13], 1
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402fd0
mov ax, word [0x404508]
mov word [edi], ax
push 0
push str.Xfire
call esi
test eax, eax
je 0x403004
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402ff1
mov ax, word [0x404514]
mov word [edi], ax
jmp 0x40300b
cmp byte [esp + 0x13], 1
jne 0x40301f
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40300e
mov ax, word [0x4044a8]
mov word [edi], ax
push 6
call fcn.00402c87
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 0x403032
lea edi, [esp + 0xac]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403044
mov ax, word [0x404518]
lea edx, [esp + 0xac]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x40305e
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40306a
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 0x403088
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004030c5
add esp, 0xcc
ret