Function at 0x404442
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea eax, [ebp - 0x8c]
push 0x41cc20
mov dword [ebp - 0xc], edx
mov ebx, ecx
push eax
mov dword [ebp - 8], 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Auto
push ebx
call edi
test eax, eax
jne 0x404660
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [0x41cc2c], eax
mov edi, eax
call fcn.00404879
test eax, eax
je 0x4044a6
call dword [0x41cdb8]
mov edi, eax
mov eax, edi
mov ecx, 0x3ff
and ax, cx
mov word [0x41cd34], ax
mov eax, edi
and eax, ecx
cmp eax, 0x11
jg 0x4045e1
je 0x4045da
cmp eax, 0xa
jg 0x4045a6
je 0x404599
sub eax, 4
je 0x404578
dec eax
dec eax
je 0x40456b
dec eax
je 0x40455e
dec eax
dec eax
jne 0x4045fd
lea eax, [ebp - 0x8c]
push 0x418414
push eax
call esi
mov eax, dword [ebp - 8]
movzx ecx, word [0x41cd34]
shl eax, 0xa
movzx eax, ax
or eax, ecx
mov dword [0x41cc2c], eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x404547
lea eax, [ebp - 0x8c]
push 0x80
push eax
push 0x40000003
push dword [0x41cc2c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0xc]
call esi
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
push str.German
push ebx
call esi
jmp 0x404755
push str.Danish
push ebx
call esi
jmp 0x4046b7
shr di, 0xa
cmp di, 1
mov dword [ebp - 8], edi
jne 0x40458f
push str.Traditional_Chinese
jmp 0x40465a
push str.Simplified_Chinese
jmp 0x40465a
push str.Spanish
push ebx
call esi
jmp 0x40482e
sub eax, 0xb
je 0x4045cd
dec eax
je 0x4045c0
sub eax, 4
jne 0x4045fd
push str.Italian
push ebx
call esi
jmp 0x404776
push str.French
push ebx
call esi
jmp 0x404734
push str.Finnish
push ebx
call esi
jmp 0x404713
push str.Japanese
jmp 0x40465a
sub eax, 0x12
je 0x404655
dec eax
je 0x404648
dec eax
je 0x40463b
dec eax
dec eax
je 0x40462e
sub eax, 3
je 0x404621
sub eax, 4
je 0x404614
dec eax
je 0x40460d
mov word [0x41cd34], 9
push str.English
jmp 0x40465a
push str.Thai
jmp 0x40465a
push str.Swedish
push ebx
call esi
jmp 0x40484f
push str.Russian
push ebx
call esi
jmp 0x40480d
push str.Portuguese
push ebx
call esi
jmp 0x4047ec
push str.Norwegian
push ebx
call esi
jmp 0x4047cb
push str.Dutch
push ebx
call esi
jmp 0x4046d8
push str.Korean
push ebx
jmp 0x404500
push str.Traditional_Chinese
push ebx
call edi
test eax, eax
jne 0x404681
mov word [0x41cd34], 4
mov dword [ebp - 8], 1
jmp 0x404502
push str.Simplified_Chinese
push ebx
call edi
test eax, eax
jne 0x4046a2
mov word [0x41cd34], 4
mov dword [ebp - 8], 2
jmp 0x404502
push str.Danish
push ebx
call edi
test eax, eax
jne 0x4046c3
mov word [0x41cd34], 6
mov dword [ebp - 4], 0x7d0
jmp 0x4044f4
push str.Dutch
push ebx
call edi
test eax, eax
jne 0x4046e4
mov word [0x41cd34], 0x13
mov dword [ebp - 4], 0xfa0
jmp 0x4044f4
push str.English
push ebx
call edi
test eax, eax
jne 0x4046fe
mov word [0x41cd34], 9
jmp 0x4044f4
push str.Finnish
push ebx
call edi
test eax, eax
jne 0x40471f
mov word [0x41cd34], 0xb
mov dword [ebp - 4], 0x1770
jmp 0x4044f4
push str.French
push ebx
call edi
test eax, eax
jne 0x404740
mov word [0x41cd34], 0xc
mov dword [ebp - 4], 0x1f40
jmp 0x4044f4
push str.German
push ebx
call edi
test eax, eax
jne 0x404761
mov word [0x41cd34], 7
mov dword [ebp - 4], 0x2710
jmp 0x4044f4
push str.Italian
push ebx
call edi
test eax, eax
jne 0x404782
mov word [0x41cd34], 0x10
mov dword [ebp - 4], 0x2ee0
jmp 0x4044f4
push str.Japanese
push ebx
call edi
test eax, eax
jne 0x40479c
mov word [0x41cd34], 0x11
jmp 0x404502
push str.Korean
push ebx
call edi
test eax, eax
jne 0x4047b6
mov word [0x41cd34], 0x12
jmp 0x404502
push str.Norwegian
push ebx
call edi
test eax, eax
jne 0x4047d7
mov word [0x41cd34], 0x14
mov dword [ebp - 4], 0x36b0
jmp 0x4044f4
push str.Portuguese
push ebx
call edi
test eax, eax
jne 0x4047f8
mov word [0x41cd34], 0x16
mov dword [ebp - 4], 0x3e80
jmp 0x4044f4
push str.Russian
push ebx
call edi
test eax, eax
jne 0x404819
mov word [0x41cd34], 0x19
mov dword [ebp - 4], 0x55f0
jmp 0x4044f4
push str.Spanish
push ebx
call edi
test eax, eax
jne 0x40483a
mov word [0x41cd34], 0xa
mov dword [ebp - 4], 0x4650
jmp 0x4044f4
push str.Swedish
push ebx
call edi
test eax, eax
jne 0x40485b
mov word [0x41cd34], 0x1d
mov dword [ebp - 4], 0x4e20
jmp 0x4044f4
push str.Thai
push ebx
call edi
test eax, eax
jne 0x404502
mov word [0x41cd34], 0x1e
jmp 0x404502