Function at 0x404ce3
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x104
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
mov edi, 0x419495
push edi
lea eax, [esp + 0x94]
push eax
xor ebp, ebp
mov dword [esp + 0x14], 1
call esi
push edi
lea eax, [esp + 0x14]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Auto
push ebx
call edi
test eax, eax
jne 0x404d70
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push str.KERNEL32
mov dword [0x4209e0], eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GetUserDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x420b70], eax
je 0x404d57
call eax
mov edi, eax
mov eax, edi
and ax, 0x3ff
shr di, 0xa
mov word [0x420b74], ax
mov dword [esp + 0xc], edi
jmp 0x405005
push str.Traditional_Chinese
push ebx
call edi
test eax, eax
jne 0x404d92
mov word [0x420b74], 4
mov dword [esp + 0xc], 1
jmp 0x405005
push str.Simplified_Chinese
push ebx
call edi
test eax, eax
jne 0x404db4
mov word [0x420b74], 4
mov dword [esp + 0xc], 2
jmp 0x405005
push str.Danish
push ebx
call edi
test eax, eax
jne 0x404dce
mov word [0x420b74], 6
jmp 0x405005
push str.Dutch
push ebx
call edi
test eax, eax
jne 0x404de8
mov word [0x420b74], 0x13
jmp 0x405005
push str.English
push ebx
call edi
test eax, eax
jne 0x404e11
push 0x419b54
lea eax, [esp + 0x94]
push eax
mov word [0x420b74], 9
call esi
jmp 0x405005
push str.Finnish
push ebx
call edi
test eax, eax
jne 0x404e2b
mov word [0x420b74], 0xb
jmp 0x405005
push str.French
push ebx
call edi
test eax, eax
jne 0x404e45
mov word [0x420b74], 0xc
jmp 0x405005
push str.German
push ebx
call edi
test eax, eax
jne 0x404e5f
mov word [0x420b74], 7
jmp 0x405005
push str.Italian
push ebx
call edi
test eax, eax
jne 0x404e79
mov word [0x420b74], 0x10
jmp 0x405005
push str.Japanese
push ebx
call edi
test eax, eax
jne 0x404e93
mov word [0x420b74], 0x11
jmp 0x405005
push str.Korean
push ebx
call edi
test eax, eax
jne 0x404ead
mov word [0x420b74], 0x12
jmp 0x405005
push str.Norwegian
push ebx
call edi
test eax, eax
jne 0x404ec7
mov word [0x420b74], 0x14
jmp 0x405005
push str.Portuguese_Brazilian
push ebx
call edi
test eax, eax
jne 0x404ee1
mov word [0x420b74], 0x16
jmp 0x404d85
push str.Portuguese_Standard
push ebx
call edi
test eax, eax
jne 0x404efb
mov word [0x420b74], 0x16
jmp 0x404da7
push str.Russian
push ebx
call edi
test eax, eax
jne 0x404f15
mov word [0x420b74], 0x19
jmp 0x405005
push str.Spanish
push ebx
call edi
test eax, eax
jne 0x404f2f
mov word [0x420b74], 0xa
jmp 0x405005
push str.Swedish
push ebx
call edi
test eax, eax
jne 0x404f49
mov word [0x420b74], 0x1d
jmp 0x405005
push str.Thai
push ebx
call edi
test eax, eax
jne 0x404f63
mov word [0x420b74], 0x1e
jmp 0x405005
push str.Czech
push ebx
call edi
test eax, eax
jne 0x404f7d
mov word [0x420b74], 5
jmp 0x405005
push str.Greek
push ebx
call edi
test eax, eax
jne 0x404f94
mov word [0x420b74], 8
jmp 0x405005
push str.Hungarian
push ebx
call edi
test eax, eax
jne 0x404fab
mov word [0x420b74], 0xe
jmp 0x405005
push str.Polish
push ebx
call edi
test eax, eax
jne 0x404fc2
mov word [0x420b74], 0x15
jmp 0x405005
push str.Slovenian
push ebx
call edi
test eax, eax
jne 0x404fd9
mov word [0x420b74], 0x24
jmp 0x405005
push str.Slovak
push ebx
call edi
test eax, eax
jne 0x404ff0
mov word [0x420b74], 0x1b
jmp 0x405005
push str.Turkish
push ebx
call edi
test eax, eax
jne 0x405005
mov word [0x420b74], 0x1f
movzx eax, word [0x420b74]
cmp eax, 0x11
jg 0x405213
je 0x405201
sub eax, 4
cmp eax, 0xc
ja case.0x405027.13
jmp dword [eax*4 + 0x4053d6]
cmp word [esp + 0xc], 1
jne 0x405048
push str.Traditional_Chinese
push ebx
call esi
push 0x419b50
jmp 0x40537c
push str.Simplified_Chinese
push ebx
call esi
push 0x419b4c
jmp 0x40537c
push 0x419b54
lea eax, [esp + 0x94]
push eax
call esi
push 0x419b48
jmp 0x40537c
push str.Danish
push ebx
call esi
push 0x419b44
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x7d0
push 0x419b54
lea eax, [esp + 0x94]
push eax
call esi
mov eax, dword [esp + 0xc]
movzx ecx, word [0x420b74]
shl eax, 0xa
movzx eax, ax
or eax, ecx
mov dword [0x4209e0], eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4050e3
push 0x80
lea eax, [esp + 0x94]
push eax
push 0x40000003
push dword [0x4209e0]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x118]
call esi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x11c]
call esi
pop edi
pop esi
mov ax, bp
pop ebp
add esp, 0x104
ret 8
push str.Finnish
push ebx
call esi
push 0x419b40
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x1770
jmp 0x40508c
push str.French
push ebx
call esi
push 0x419b3c
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x1f40
jmp 0x40508c
push str.German
push ebx
call esi
push 0x419b38
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x2710
jmp 0x40508c
push str.Italian
push ebx
call esi
push 0x419b34
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x2ee0
jmp 0x40508c
push str.Spanish
push ebx
call esi
push 0x419b30
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x4650
jmp 0x40508c
push str.Czech
push ebx
call esi
push 0x419b2c
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x5dc0
jmp 0x4053bc
push str.Greek
push ebx
call esi
push 0x419b28
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x6590
jmp 0x4053bc
push str.Hungarian
push ebx
call esi
push 0x419b24
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x6d60
jmp 0x4053bc
push str.Japanese
push ebx
call esi
push 0x419b20
jmp 0x40537c
cmp eax, 0x19
jg 0x40530d
je 0x4052ef
sub eax, 0x12
je 0x4052dd
dec eax
je 0x4052bf
dec eax
je 0x4052a1
dec eax
je 0x405283
dec eax
jne case.0x405027.13
cmp word [esp + 0xc], 1
jne 0x405265
push str.Portuguese_Brazilian
push ebx
call esi
push 0x419b1c
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x3e80
jmp 0x40508c
push str.Portuguese_Standard
push ebx
call esi
push 0x419b18
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x7d00
jmp 0x4053bc
push str.Polish
push ebx
call esi
push 0x419b14
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x7530
jmp 0x4053bc
push str.Norwegian
push ebx
call esi
push 0x419b10
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x36b0
jmp 0x40508c
push str.Dutch
push ebx
call esi
push 0x419b0c
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0xfa0
jmp 0x40508c
push str.Korean
push ebx
call esi
push 0x419b08
jmp 0x40537c
push str.Russian
push ebx
call esi
push 0x419b04
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x55f0
jmp 0x40508c
sub eax, 0x1b
je 0x4053a3
dec eax
dec eax
je 0x405385
dec eax
je 0x40536f
dec eax
je 0x405354
sub eax, 5
je 0x405339
push str.English
mov word [0x420b74], 9
push ebx
jmp 0x405067
push str.Slovenian
push ebx
call esi
push 0x419b00
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x84d0
jmp 0x4053bc
push str.Turkish
push ebx
call esi
push 0x419afc
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x9470
jmp 0x4053bc
push str.Thai
push ebx
call esi
push 0x419af8
lea eax, [esp + 0x14]
jmp 0x405098
push str.Swedish
push ebx
call esi
push 0x419af4
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x4e20
jmp 0x40508c
push str.Slovak
push ebx
call esi
push 0x419af0
lea eax, [esp + 0x14]
push eax
call esi
mov ebp, 0x8ca0
push 0x419aec
lea eax, [esp + 0x94]
push eax
call esi
add ebp, 0xa240
jmp 0x40509b