Function at 0x475c90
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x580838
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [esp + 0x58]
test esi, esi
je 0x476003
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5962d4
call fcn.00402a30
lea eax, [esp + 0x1c]
push 0x164
push eax
call fcn.00409b80
add esp, 0xc
mov eax, dword [eax]
push eax
mov dword [esp + 0x58], 0
call fcn.00409e00
mov eax, dword [esp + 0x1c]
or ebx, 0xffffffff
add eax, 0xfffffff0
add esp, 8
mov dword [esp + 0x50], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475d2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esi + 0xb]
push edi
mov byte [esi], 0
call fcn.0040a650
push 0
push edi
call fcn.00409e00
push 0
push 0x596192
call fcn.00409e00
push 0
push str.Hotfixes
call fcn.00409e00
push 0
push esi
call fcn.0040adf0
push 0
push 0x596192
call fcn.00409e00
add esp, 0x2c
call fcn.0042ac20
test eax, eax
lea ecx, [esp + 0x14]
je 0x475d9f
push 0xd9
push ecx
call fcn.00426ad0
mov edx, dword [eax]
push edx
lea edi, [esi + 0x8b]
push 0x5971b0
push edi
call fcn.00540420
add esp, 0x14
jmp 0x475dbc
push ecx
call fcn.004279e0
mov edx, dword [eax]
push edx
lea edi, [esi + 0x8b]
push 0x5971b0
push edi
call fcn.00540420
add esp, 0x10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475ddb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push edi
call fcn.00409e00
push 0
push 0x596192
call fcn.00409e00
add esp, 0x10
push 5
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call fcn.00402a30
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.OS_Desc
mov dword [esp + 0x60], 1
call fcn.00402a30
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], ebx
call fcn.0043bcd0
lea ecx, [esp + 0x1c]
call fcn.0043a600
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 8
lea ecx, [esi + 0x22b]
push ecx
push 0x1004
push 0x800
call edi
push 8
lea edx, [esi + 0x233]
push edx
push 0xb
push 0x800
call edi
push 0x40
lea eax, [esi + 0x18b]
push eax
push 0x1002
push 0x800
call edi
push 0x40
lea ecx, [esi + 0x1cb]
push ecx
push 0x1001
push 0x800
call edi
push 0x10
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00475b80
add esp, 0xc
test eax, eax
jne 0x475f93
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402a30
push 0x596192
push 0x596424
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 2
call fcn.00408410
mov edx, dword [esp + 0x10]
push 0x5a20e0
push edx
call fcn.00541578
add esp, 8
test eax, eax
je 0x475f57
mov eax, dword [esp + 0x10]
push 0x5a20dc
push eax
call fcn.00541578
add esp, 8
test eax, eax
je 0x475f57
mov ecx, dword [esp + 0x10]
push 0x5a20d8
push ecx
call fcn.00541578
add esp, 8
test eax, eax
je 0x475f57
mov edx, dword [esp + 0x10]
push 0x5a20d4
push edx
call fcn.00541578
add esp, 8
test eax, eax
je 0x475f57
mov eax, dword [esp + 0x10]
push 0x596b3c
push eax
call fcn.00541578
add esp, 8
test eax, eax
je 0x475f57
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x475f57
lea edx, [esp + 0x34]
push edx
push str.DirectX__s
lea eax, [esi + 0x20b]
push eax
jmp 0x475f68
push 0x5968c8
push 0x5971b0
lea ecx, [esi + 0x20b]
push ecx
call fcn.00540420
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x50], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x475fac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x475fac
push 0x5968c8
lea ecx, [esi + 0x20b]
push 0x5971b0
push ecx
call fcn.00540420
add esp, 0xc
push 0x40
lea edi, [esi + 0x23b]
push edi
push 0x5961a4
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x475fd2
mov byte [edi], al
push 0x40
lea edi, [esi + 0x27b]
push edi
push str.Build
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425d50
add esp, 0x14
test al, al
jne 0x475ff8
mov byte [edi], al
push 0xa
push esi
call fcn.00475b50
add esp, 8
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0053fab2
add esp, 0x44
ret