Function at 0x2100fb2a0
Capabilities:
Get geographical location

Disassembly:
push r14
push r13
push r12
sub rsp, 0x50
mov r14, rcx
mov r13, rdx
call sym.__get_lcid_from_locale_char_const_
mov r12d, eax
lea eax, [rax - 1]
cmp eax, 0xfffffffd
jbe 0x2100fb300
mov edx, 0x40
mov rcx, r14
mov dword [rsp + 0x2c], 0x4e9f
call sym.msys_2.0.dll_strchr
test rax, rax
jne 0x2100fb690
mov eax, 0x49
mov dword [r13], 0x49435341
mov word [r13 + 4], ax
add rsp, 0x50
pop r12
pop r13
pop r14
ret
mov r9d, 4
lea r8, [rsp + 0x2c]
mov edx, 0x20001004
mov ecx, r12d
call sym.GetLocaleInfoW
test eax, eax
je 0x2100fb370
mov rcx, r14
mov edx, 0x40
call sym.msys_2.0.dll_strchr
mov rcx, rax
mov eax, dword [rsp + 0x2c]
test rcx, rcx
je 0x2100fb8b5
cmp eax, 0x4e9
ja 0x2100fb613
cmp eax, 0x4e1
jbe 0x2100fb5a0
sub eax, 0x4e3
cmp eax, 6
ja case.default.0x2100fb36b
lea rdx, [0x21029d7f4]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov dword [rsp + 0x2c], 0
cmp r12d, 0x3c09
je 0x2100fb440
cmp r12d, 0x200c
je 0x2100fb440
lea r14, str.ISO_8859_13
cmp r12d, 0x481
je 0x2100fb3f7
jbe 0x2100fb7f8
lea r14, str.ISO_8859_1
cmp r12d, 0x2c0c
je 0x2100fb3f7
jbe 0x2100fb7d0
cmp r12d, 0x380c
je 0x2100fb3f7
jbe 0x2100fb7b2
cmp r12d, 0x3c0c
je 0x2100fb3f7
nop word cs:[rax + rax]
lea r14, [0x21029d7ad]
jmp 0x2100fb3f7
lea r14, str.ISO_8859_8
mov rdx, r14
mov rcx, r13
add rsp, 0x50
pop r12
pop r13
pop r14
jmp sym.msys_2.0.dll_strcpy
lea r14, str.ISO_8859_7
jmp 0x2100fb3f7
lea r14, [0x21029d7ad]
cmp r12d, 0x42c
je 0x2100fb3f7
lea r14, str.ISO_8859_9
cmp r12d, 0x443
jne 0x2100fb3f7
lea r14, str.ISO_8859_1
jmp 0x2100fb3f7
lea r14, str.ISO_8859_14
cmp r12d, 0x452
je 0x2100fb3f7
cmp r12d, 0x491
ja 0x2100fb748
cmp r12d, 0x461
ja 0x2100fb710
cmp r12d, 0x42e
jne 0x2100fb6a0
lea r14, str.ISO_8859_2
jmp 0x2100fb3f7
mov eax, r12d
lea r14, [0x21029d7ad]
and ah, 0xef
cmp eax, 0xc1a
je 0x2100fb3f7
lea eax, [r12 - 0x281a]
test eax, 0xfffff7ff
je 0x2100fb3f7
cmp r12d, 0x440
je 0x2100fb3e0
cmp r12d, 0x843
je 0x2100fb3e0
cmp r12d, 0x444
je 0x2100fb865
cmp r12d, 0x450
je 0x2100fb3f7
cmp r12d, 0x423
jne 0x2100fb883
lea rdx, str._latin
call sym.msys_2.0.dll_strcmp
test eax, eax
lea rax, str.CP1251
cmovne r14, rax
jmp 0x2100fb3f7
cmp r12d, 0x429
je 0x2100fb3e0
cmp r12d, 0x846
je 0x2100fb3e0
cmp r12d, 0x859
sete al
cmp r12d, 0x480
sete dl
or al, dl
jne 0x2100fb3e0
lea r14, str.ISO_8859_6
cmp r12d, 0x420
je 0x2100fb3e0
jmp 0x2100fb3f7
cmp r12d, 0x425
lea r14, str.ISO_8859_15
lea rax, str.ISO_8859_13
cmovne r14, rax
jmp 0x2100fb3f7
cmp eax, 0x3a8
je 0x2100fb628
jbe 0x2100fb5c0
cmp eax, 0x3b5
jne 0x2100fb5f0
lea r14, [0x21029d740]
jmp 0x2100fb3f7
lea r14, [0x21029d72d]
cmp eax, 0x36a
je 0x2100fb3f7
cmp eax, 0x3a4
jne 0x2100fb378
lea r14, [0x21029d733]
jmp 0x2100fb3f7
cmp eax, 0x3b6
jne 0x2100fb378
mov dword [r13], 0x35474942
mov byte [r13 + 4], 0
add rsp, 0x50
pop r12
pop r13
pop r14
ret
cmp eax, 0x4e9f
je 0x2100fb2de
jmp 0x2100fb378
lea r14, [0x21029d739]
jmp 0x2100fb3f7
mov eax, r12d
lea r14, [0x21029d7ad]
and ah, 0xef
cmp eax, 0x81a
je 0x2100fb3f7
mov eax, r12d
and ah, 0xf7
cmp eax, 0x241a
je 0x2100fb3e0
cmp r12d, 0x442
je 0x2100fb3e0
lea r14, str.ISO_8859_2
cmp r12d, 0x41c
jne 0x2100fb3f7
jmp 0x2100fb440
lea r14, [0x21029d5de]
jmp 0x2100fb3f7
cmp r12d, 0x42d
ja 0x2100fb780
nop dword [rax]
lea rdx, str._euro
call sym.msys_2.0.dll_strcmp
test eax, eax
jne 0x2100fb440
lea r14, [rsp + 0x30]
mov r9d, 9
mov edx, 0x15
mov ecx, r12d
mov r8, r14
call sym.GetLocaleInfoW
test eax, eax
je 0x2100fb440
mov rcx, r14
mov r8d, 3
lea rdx, [0x21029d7ec]
call sym.msys_2.0.dll_wcsncmp
lea r14, str.ISO_8859_15
test eax, eax
je 0x2100fb3f7
jmp 0x2100fb440
lea eax, [r12 - 0x462]
movabs rdx, 0x6000084545
bt rdx, rax
jb 0x2100fb3e0
lea r14, str.ISO_8859_15
cmp r12d, 0x491
jne 0x2100fb6b0
jmp 0x2100fb3f7
cmp r12d, 0x867
ja 0x2100fb7a0
cmp r12d, 0x831
jbe 0x2100fb6b0
lea eax, [r12 - 0x832]
movabs rdx, 0x20080000000001
bt rdx, rax
jae 0x2100fb6b0
jmp 0x2100fb3e0
cmp r12d, 0x432
je 0x2100fb3e0
cmp r12d, 0x43b
jne 0x2100fb6b0
jmp 0x2100fb3e0
cmp r12d, 0x4009
jne 0x2100fb6b0
jmp 0x2100fb3e0
and r12d, 0xfffffbff
cmp r12d, 0x300c
jne 0x2100fb3e0
jmp 0x2100fb3f7
lea eax, [r12 - 0x240c]
test eax, 0xfffffbff
je 0x2100fb3f7
cmp r12d, 0x818
je 0x2100fb487
jmp 0x2100fb3e0
lea r14, str.ISO_8859_3
cmp r12d, 0x43a
je 0x2100fb3f7
jbe 0x2100fb838
lea r14, [0x21029d7a7]
cmp r12d, 0x43f
je 0x2100fb3f7
cmp r12d, 0x477
je 0x2100fb440
jmp 0x2100fb3e0
lea r14, str.ISO_8859_1
cmp r12d, 0x430
je 0x2100fb3f7
cmp r12d, 0x437
jne 0x2100fb3e0
lea r14, [0x21029d79b]
jmp 0x2100fb3f7
lea rdx, str._iqtelif
call sym.msys_2.0.dll_strcmp
test eax, eax
lea rax, str.ISO_8859_5
cmovne r14, rax
jmp 0x2100fb3f7
lea r14, str.CP1251
cmp r12d, 0x402
je 0x2100fb3f7
cmp r12d, 0x422
lea r14, str.ISO_8859_5
lea rax, [0x21029d7be]
cmove r14, rax
jmp 0x2100fb3f7
lea rcx, [0x21029d180]
jmp 0x2100fb339