Function at 0x423c80
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 0x423cbd
mov rcx, rsi
call fcn.0041a860
mov rdi, rax
jmp 0x423cbf
xor edi, edi
mov rcx, qword [0x00448070]
call fcn.00432528
mov rax, qword [0x00444630]
test rax, rax
je 0x423ce3
lea rcx, [0x004445e8]
cmp rax, rcx
jne 0x423d15
lea rcx, [0x004445e8]
xor r15d, r15d
cmp rax, rcx
sete bl
mov ecx, 1
mov edx, 0x48
call fcn.004160c0
mov qword [0x00444630], rax
test rax, rax
je 0x423da5
mov r15b, bl
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x423d32
call fcn.004160e0
mov rax, qword [0x00444630]
mov qword [rax + 0x38], 0
test rdi, rdi
je 0x423d5b
cmp byte [rdi], 0
je 0x423d68
lea rdx, [0x004353f3]
mov rcx, rsi
call fcn.0041a920
test rax, rax
je 0x423dbc
mov dword [rdi], 0x554e45
jmp 0x423eb8
test r15d, r15d
je 0x423ddf
mov rcx, rax
jmp 0x424159
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.00427900
mov rcx, qword [0x00444630]
mov dword [rcx], eax
mov dword [rcx + 8], 0
jmp 0x42417a
mov ecx, 0xe
call sub.KERNEL32_SetLastError
mov rcx, rdi
call fcn.004160e0
jmp 0x424270
lea rdx, [0x004353f9]
mov rcx, rsi
call fcn.0041a920
test rax, rax
je 0x423e82
mov dword [rdi], 0x474e45
jmp 0x423eb8
movsx esi, r14w
test sil, 4
jne 0x423e06
test sil, 0x10
jne 0x423e1b
test sil, 0x20
jne 0x423e34
test sil, 1
jne 0x423e4d
test sil, 2
jne 0x423e6a
jmp 0x4241cd
lea rdx, [0x004353c0]
mov rcx, rax
call fcn.00424780
test sil, 0x10
je 0x423def
mov rcx, qword [0x00444630]
lea rdx, [0x004353cc]
call fcn.00424780
test sil, 0x20
je 0x423df5
mov rcx, qword [0x00444630]
lea rdx, [0x004353d7]
call fcn.00424780
test sil, 1
je 0x423dfb
mov rcx, qword [0x00444630]
lea rdx, [0x004353df]
call fcn.00424780
test sil, 2
je 0x4241cd
mov rcx, qword [0x00444630]
lea rdx, [0x004353ea]
call fcn.00424780
jmp 0x4241cd
lea rdx, [0x004353ff]
mov rcx, rsi
call fcn.0041a920
test rax, rax
je 0x423e9e
mov dword [rdi], 0x415246
jmp 0x423eb8
lea rdx, [0x00435405]
mov rcx, rsi
call fcn.0041a920
test rax, rax
je 0x423ed6
mov dword [rdi], 0x554544
mov edx, 0x2e
mov rcx, rsi
call fcn.0041b850
test rax, rax
je 0x423ed6
lea rcx, [rdi + 3]
mov rdx, rax
call fcn.0041b780
lea rdx, [0x0043540b]
mov rcx, rsi
call fcn.0041b7c0
test eax, eax
je 0x424152
cmp byte [rdi], 0x4c
jne 0x424129
cmp byte [rdi + 1], 0x43
jne 0x424129
cmp byte [rdi + 2], 0x5f
jne 0x424129
mov rcx, rdi
call fcn.004160e0
mov rcx, qword [0x00448070]
call fcn.00432690
mov rax, qword [0x00444630]
mov qword [rbp + 0x1a8], rax
mov rcx, qword [0x00448070]
call fcn.00432528
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, [0x004353df]
xor r13d, r13d
jmp 0x424070
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 0x424070
lea rcx, [rbp - 0x60]
mov rdx, r14
call fcn.0041b780
jmp 0x423fd0
movzx ecx, byte [rsi]
cmp cl, 0xa
je 0x424050
cmp cl, 0x3d
je 0x4240a0
test cl, cl
je 0x4242ff
movsxd rdx, eax
inc eax
mov byte [rbp + rdx + 0xa0], cl
inc rsi
jmp 0x424070
mov rcx, r14
lea rdx, [0x004353ea]
call fcn.0041b7c0
mov r12d, r13d
or r12d, 2
test eax, eax
cmovne r12w, r13w
mov rcx, r14
lea rdx, [0x004353d7]
call fcn.0041b7c0
mov ebx, r12d
or ebx, 0x20
test eax, eax
cmovne bx, r12w
mov rcx, r14
lea rdx, [0x004353cc]
call fcn.0041b7c0
mov edi, ebx
or edi, 0x10
test eax, eax
cmovne di, bx
mov rcx, r14
lea rdx, [0x004353c0]
call fcn.0041b7c0
mov ebx, edi
or ebx, 4
test eax, eax
cmovne bx, di
mov rcx, r14
mov rdx, r15
call fcn.0041b7c0
xor r13d, r13d
test eax, eax
sete r13b
or r13d, ebx
jmp 0x423fd0
mov rcx, qword [0x00444630]
mov dword [rcx + 8], 0
mov rdx, rdi
call fcn.00424900
mov esi, eax
test esi, esi
je 0x42429c
mov rcx, qword [0x00444630]
jmp 0x42417a
mov rcx, qword [0x00444630]
call fcn.004243a0
mov rcx, qword [0x00444630]
call fcn.004160e0
lea rcx, [0x004445e8]
mov qword [0x00444630], rcx
xor esi, esi
mov dword [rcx + 4], esi
mov rcx, rdi
call fcn.004160e0
mov rax, qword [0x00444630]
mov ecx, dword [rax + 4]
mov edx, 1
call sub.KERNEL32_IsValidLocale
test eax, eax
mov rax, qword [0x00444630]
jne 0x4241ae
cmp dword [rax + 8], 0
je 0x424234
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00444630]
cmp dword [rcx + 8], 0
je 0x4241ee
mov dword [0x004443e0], 1
call fcn.004268c0
mov rax, qword [0x00444630]
mov rsi, qword [rax + 0x38]
mov rcx, qword [0x00448070]
call fcn.00432690
jmp 0x42427e
call fcn.004243a0
mov rcx, qword [0x00444630]
mov edx, r14d
call fcn.00424b80
test eax, eax
je 0x42423b
mov rax, qword [0x00444630]
mov ecx, dword [rax]
call fcn.0042a340
test eax, eax
je 0x4242d1
mov rcx, qword [0x00448070]
call fcn.00432690
mov ecx, 0x20000106
call sub.KERNEL32_SetLastError
jmp 0x42427c
mov ecx, 0x20000103
jmp 0x424240
mov ecx, 0x20000102
call sub.KERNEL32_SetLastError
test r15d, r15d
je 0x424270
mov rcx, qword [0x00444630]
call fcn.004243a0
mov rcx, qword [0x00444630]
call fcn.004160e0
lea rax, [0x004445e8]
mov qword [0x00444630], rax
mov rcx, qword [0x00448070]
call fcn.00432690
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 0x4242bb
mov rcx, qword [0x00444630]
call fcn.004160e0
lea rax, [0x004445e8]
mov qword [0x00444630], rax
mov rcx, qword [0x00448070]
call fcn.00432690
mov rcx, rdi
call fcn.004160e0
jmp 0x42427c
mov rax, qword [0x00444630]
mov ecx, dword [rax]
lea rdx, [rbp + 0xa0]
call sub.KERNEL32_GetCPInfo
test eax, eax
je 0x42421c
mov eax, dword [rbp + 0xa0]
mov dword [0x004443e0], eax
jmp 0x4241cd
lea rdx, [rbp - 0x60]
mov rsi, qword [rbp + 0x1a8]
mov rcx, rsi
call fcn.00424900
mov dword [rsi + 4], eax
mov edx, 1
mov ecx, eax
call sub.KERNEL32_IsValidLocale
test eax, eax
jne 0x42432b
cmp dword [rsi + 8], 0
je 0x42436c
mov rax, qword [0x00444630]
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00444630]
call fcn.004243a0
mov rcx, qword [0x00444630]
mov edx, r13d
call fcn.00424b80
test eax, eax
jne 0x4241cd
mov ecx, 0x20000102
call sub.KERNEL32_SetLastError
jmp 0x424270
mov ecx, 0x20000103
call sub.KERNEL32_SetLastError
jmp 0x424270