Function at 0x406cd0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x108
mov eax, dword [0x4a53f0]
push ebx
push esi
xor esi, esi
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
push str.Software_Information
mov dword [eax + ecx*4 + 0x18], edx
mov eax, dword [0x4a53f0]
mov edx, dword [eax + 0x10]
inc edx
mov dword [eax + 0x10], edx
mov eax, dword [0x4a53f0]
mov dword [eax + 0x14], esi
mov ecx, dword [0x4a53f0]
mov ebx, dword [ecx]
add ebx, 0x11b790
call fcn.00404f80
push str.___________________
call fcn.00404f80
lea edx, [ebx + 4]
lea eax, [esp + 0x18]
push edx
push str.Operating_System:_s
push eax
call fcn.0044537b
lea ecx, [esp + 0x24]
push ecx
call fcn.00404f80
lea edx, [ebx + 0x84]
lea eax, [esp + 0x28]
push edx
push str.Country:_s
push eax
call fcn.0044537b
lea ecx, [esp + 0x34]
push ecx
call fcn.00404f80
lea edx, [ebx + 0xc4]
lea eax, [esp + 0x38]
push edx
push str.Language:_s
push eax
call fcn.0044537b
lea ecx, [esp + 0x44]
push ecx
call fcn.00404f80
lea edx, [ebx + 0x124]
lea eax, [esp + 0x48]
push edx
push str.ANSI_Code_Page:_s
push eax
call fcn.0044537b
add esp, 0x44
lea ecx, [esp + 0x10]
push ecx
call fcn.00404f80
lea edx, [ebx + 0x12c]
lea eax, [esp + 0x14]
push edx
push str.OEM_Code_Page:_s
push eax
call fcn.0044537b
lea ecx, [esp + 0x20]
push ecx
call fcn.00404f80
lea edx, [ebx + 0x104]
lea eax, [esp + 0x24]
push edx
push str.DirectX:_s
push eax
call fcn.0044537b
lea ecx, [esp + 0x30]
push ecx
call fcn.00404f80
push 0x4a53ec
call fcn.00404f80
mov eax, dword [ebx]
add esp, 0x28
mov dword [esp + 0xc], esi
cmp eax, esi
jle 0x406f83
push ebp
lea ebp, [ebx + 0x234]
push edi
mov dword [esp + 0x10], ebp
lea edx, [ebp - 0x100]
lea eax, [esp + 0x18]
push edx
push str.Description:_s
push eax
call fcn.0044537b
lea ecx, [esp + 0x24]
push ecx
call fcn.00404f80
lea edx, [ebp - 0x80]
lea eax, [esp + 0x28]
push edx
push str.Version:_s
push eax
call fcn.0044537b
lea ecx, [esp + 0x34]
push ecx
call fcn.00404f80
push ebp
lea edx, [esp + 0x3c]
push str.Company:_s
push edx
call fcn.0044537b
lea eax, [esp + 0x44]
push eax
call fcn.00404f80
mov eax, dword [ebx + 0x3134]
add esi, 0x100
add esp, 0x30
cmp eax, esi
jne 0x406f57
mov al, byte [ebx + 0x3138]
lea edx, [esp + 0x18]
test al, al
je 0x406eb6
mov edi, str.Version_Check:Ok
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.00404f80
add esp, 4
jmp 0x406f57
mov edi, str.Version_Check:Failed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.00404f80
xor esi, esi
push esi
call fcn.0041c560
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x406f57
lea ebp, [ebx + 0x319d]
cmp esi, 0x64
jge 0x406f53
mov al, byte [esi + ebx + 0x3139]
test al, al
jne 0x406f38
push ebp
push esi
call fcn.0041c560
add esp, 4
lea edx, [esp + 0x1c]
push eax
push str._s:_s
push edx
call fcn.0044537b
lea eax, [esp + 0x28]
push eax
call fcn.00404f80
add esp, 0x14
inc esi
add ebp, 0x20
push esi
call fcn.0041c560
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x406f01
mov ebp, dword [esp + 0x10]
push 0x4a53ec
call fcn.00404f80
mov esi, dword [esp + 0x18]
mov eax, dword [ebx]
add esp, 4
inc esi
add ebp, 0x180
cmp esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
jl 0x406e06
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x108
ret