Function at 0x4409e0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x248
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1b0], xmm6
mov rsi, rdx
mov r14d, ecx
xor r15d, r15d
test rsi, rsi
je 0x440a1d
mov rcx, rsi
call fcn.004384f0
mov rdi, rax
jmp 0x440a1f
xor edi, edi
mov rcx, qword [0x00466a90]
call fcn.0044f248
mov rax, qword [0x00462c70]
test rax, rax
je 0x440a43
lea rcx, [0x00462c28]
cmp rax, rcx
jne 0x440a75
lea rcx, [0x00462c28]
xor r15d, r15d
cmp rax, rcx
sete bl
mov ecx, 1
mov edx, 0x48
call fcn.00433cf0
mov qword [0x00462c70], rax
test rax, rax
je 0x440b05
mov r15b, bl
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x440a92
call fcn.00433d10
mov rax, qword [0x00462c70]
mov qword [rax + 0x38], 0
test rdi, rdi
je 0x440abb
cmp byte [rdi], 0
je 0x440ac8
lea rdx, [0x00452843]
mov rcx, rsi
call fcn.004385b0
test rax, rax
je 0x440b1c
mov dword [rdi], 0x554e45
jmp 0x440c18
test r15d, r15d
je 0x440b3f
mov rcx, rax
jmp 0x440eb9
call sub.KERNEL32_GetUserDefaultLCID
mov esi, eax
lea rbx, [rbp - 0x60]
mov edx, 0xb
mov r9d, 7
mov ecx, esi
mov r8, rbx
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.00444d80
mov rcx, qword [0x00462c70]
mov dword [rcx], eax
mov dword [rcx + 8], 0
jmp 0x440eda
mov ecx, 0xe
call sub.KERNEL32_SetLastError
mov rcx, rdi
call fcn.00433d10
jmp 0x440fd0
lea rdx, [0x00452849]
mov rcx, rsi
call fcn.004385b0
test rax, rax
je 0x440be2
mov dword [rdi], 0x474e45
jmp 0x440c18
movsx esi, r14w
test sil, 4
jne 0x440b66
test sil, 0x10
jne 0x440b7b
test sil, 0x20
jne 0x440b94
test sil, 1
jne 0x440bad
test sil, 2
jne 0x440bca
jmp 0x440f2d
lea rdx, [0x00452810]
mov rcx, rax
call fcn.004414e0
test sil, 0x10
je 0x440b4f
mov rcx, qword [0x00462c70]
lea rdx, [0x0045281c]
call fcn.004414e0
test sil, 0x20
je 0x440b55
mov rcx, qword [0x00462c70]
lea rdx, [0x00452827]
call fcn.004414e0
test sil, 1
je 0x440b5b
mov rcx, qword [0x00462c70]
lea rdx, [0x0045282f]
call fcn.004414e0
test sil, 2
je 0x440f2d
mov rcx, qword [0x00462c70]
lea rdx, [0x0045283a]
call fcn.004414e0
jmp 0x440f2d
lea rdx, [0x0045284f]
mov rcx, rsi
call fcn.004385b0
test rax, rax
je 0x440bfe
mov dword [rdi], 0x415246
jmp 0x440c18
lea rdx, [0x00452855]
mov rcx, rsi
call fcn.004385b0
test rax, rax
je 0x440c36
mov dword [rdi], 0x554544
mov edx, 0x2e
mov rcx, rsi
call fcn.00439420
test rax, rax
je 0x440c36
lea rcx, [rdi + 3]
mov rdx, rax
call fcn.00439350
lea rdx, [0x0045285b]
mov rcx, rsi
call fcn.00439390
test eax, eax
je 0x440eb2
cmp byte [rdi], 0x4c
jne 0x440e89
cmp byte [rdi + 1], 0x43
jne 0x440e89
cmp byte [rdi + 2], 0x5f
jne 0x440e89
mov rcx, rdi
call fcn.00433d10
mov rcx, qword [0x00466a90]
call fcn.0044f3a0
mov rax, qword [0x00462c70]
mov qword [rbp + 0x1a8], rax
mov rcx, qword [0x00466a90]
call fcn.0044f248
xorps xmm6, xmm6
movaps xmmword [rbp + 0x190], xmm6
movaps xmmword [rbp + 0x180], xmm6
movaps xmmword [rbp + 0x170], xmm6
movaps xmmword [rbp + 0x160], xmm6
movaps xmmword [rbp + 0x150], xmm6
movaps xmmword [rbp + 0x140], xmm6
movaps xmmword [rbp + 0x130], xmm6
movaps xmmword [rbp + 0x120], xmm6
movaps xmmword [rbp + 0x110], xmm6
movaps xmmword [rbp + 0x100], xmm6
movaps xmmword [rbp + 0xf0], xmm6
movaps xmmword [rbp + 0xe0], xmm6
movaps xmmword [rbp + 0xd0], xmm6
movaps xmmword [rbp + 0xc0], xmm6
movaps xmmword [rbp + 0xb0], xmm6
movaps xmmword [rbp + 0xa0], xmm6
xor eax, eax
lea r14, [rbp + 0xa0]
lea r15, [0x0045282f]
xor r13d, r13d
jmp 0x440dd0
movaps xmmword [rbp + 0x190], xmm6
movaps xmmword [rbp + 0x180], xmm6
movaps xmmword [rbp + 0x170], xmm6
movaps xmmword [rbp + 0x160], xmm6
movaps xmmword [rbp + 0x150], xmm6
movaps xmmword [rbp + 0x140], xmm6
movaps xmmword [rbp + 0x130], xmm6
movaps xmmword [rbp + 0x120], xmm6
movaps xmmword [rbp + 0x110], xmm6
movaps xmmword [rbp + 0x100], xmm6
movaps xmmword [rbp + 0xf0], xmm6
movaps xmmword [rbp + 0xe0], xmm6
movaps xmmword [rbp + 0xd0], xmm6
movaps xmmword [rbp + 0xc0], xmm6
movaps xmmword [rbp + 0xb0], xmm6
movaps xmmword [rbp + 0xa0], xmm6
inc rsi
xor eax, eax
jmp 0x440dd0
lea rcx, [rbp - 0x60]
mov rdx, r14
call fcn.00439350
jmp 0x440d30
movzx ecx, byte [rsi]
cmp cl, 0xa
je 0x440db0
cmp cl, 0x3d
je 0x440e00
test cl, cl
je 0x44105f
movsxd rdx, eax
inc eax
mov byte [rbp + rdx + 0xa0], cl
inc rsi
jmp 0x440dd0
mov rcx, r14
lea rdx, [0x0045283a]
call fcn.00439390
mov r12d, r13d
or r12d, 2
test eax, eax
cmovne r12w, r13w
mov rcx, r14
lea rdx, [0x00452827]
call fcn.00439390
mov ebx, r12d
or ebx, 0x20
test eax, eax
cmovne bx, r12w
mov rcx, r14
lea rdx, [0x0045281c]
call fcn.00439390
mov edi, ebx
or edi, 0x10
test eax, eax
cmovne di, bx
mov rcx, r14
lea rdx, [0x00452810]
call fcn.00439390
mov ebx, edi
or ebx, 4
test eax, eax
cmovne bx, di
mov rcx, r14
mov rdx, r15
call fcn.00439390
xor r13d, r13d
test eax, eax
sete r13b
or r13d, ebx
jmp 0x440d30
mov rcx, qword [0x00462c70]
mov dword [rcx + 8], 0
mov rdx, rdi
call fcn.00441660
mov esi, eax
test esi, esi
je 0x440ffc
mov rcx, qword [0x00462c70]
jmp 0x440eda
mov rcx, qword [0x00462c70]
call fcn.00441100
mov rcx, qword [0x00462c70]
call fcn.00433d10
lea rcx, [0x00462c28]
mov qword [0x00462c70], rcx
xor esi, esi
mov dword [rcx + 4], esi
mov rcx, rdi
call fcn.00433d10
mov rax, qword [0x00462c70]
mov ecx, dword [rax + 4]
mov edx, 1
call sub.KERNEL32_IsValidLocale
test eax, eax
mov rax, qword [0x00462c70]
jne 0x440f0e
cmp dword [rax + 8], 0
je 0x440f94
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00462c70]
cmp dword [rcx + 8], 0
je 0x440f4e
mov dword [0x00462a20], 1
call fcn.00443620
mov rax, qword [0x00462c70]
mov rsi, qword [rax + 0x38]
mov rcx, qword [0x00466a90]
call fcn.0044f3a0
jmp 0x440fde
call fcn.00441100
mov rcx, qword [0x00462c70]
mov edx, r14d
call fcn.004418e0
test eax, eax
je 0x440f9b
mov rax, qword [0x00462c70]
mov ecx, dword [rax]
call fcn.004478e0
test eax, eax
je 0x441031
mov rcx, qword [0x00466a90]
call fcn.0044f3a0
mov ecx, 0x20000106
call sub.KERNEL32_SetLastError
jmp 0x440fdc
mov ecx, 0x20000103
jmp 0x440fa0
mov ecx, 0x20000102
call sub.KERNEL32_SetLastError
test r15d, r15d
je 0x440fd0
mov rcx, qword [0x00462c70]
call fcn.00441100
mov rcx, qword [0x00462c70]
call fcn.00433d10
lea rax, [0x00462c28]
mov qword [0x00462c70], rax
mov rcx, qword [0x00466a90]
call fcn.0044f3a0
xor esi, esi
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x1b0]
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
test r15d, r15d
je 0x44101b
mov rcx, qword [0x00462c70]
call fcn.00433d10
lea rax, [0x00462c28]
mov qword [0x00462c70], rax
mov rcx, qword [0x00466a90]
call fcn.0044f3a0
mov rcx, rdi
call fcn.00433d10
jmp 0x440fdc
mov rax, qword [0x00462c70]
mov ecx, dword [rax]
lea rdx, [rbp + 0xa0]
call sub.KERNEL32_GetCPInfo
test eax, eax
je 0x440f7c
mov eax, dword [rbp + 0xa0]
mov dword [0x00462a20], eax
jmp 0x440f2d
lea rdx, [rbp - 0x60]
mov rsi, qword [rbp + 0x1a8]
mov rcx, rsi
call fcn.00441660
mov dword [rsi + 4], eax
mov edx, 1
mov ecx, eax
call sub.KERNEL32_IsValidLocale
test eax, eax
jne 0x44108b
cmp dword [rsi + 8], 0
je 0x4410cc
mov rax, qword [0x00462c70]
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00462c70]
call fcn.00441100
mov rcx, qword [0x00462c70]
mov edx, r13d
call fcn.004418e0
test eax, eax
jne 0x440f2d
mov ecx, 0x20000102
call sub.KERNEL32_SetLastError
jmp 0x440fd0
mov ecx, 0x20000103
call sub.KERNEL32_SetLastError
jmp 0x440fd0