Function at 0x140038580
Capabilities:
Access peb ldr_data
Get geographical location

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x140038ab1
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov qword [rsp + 0x48], 0
mov rax, qword [0x1409e3f98]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.140039100
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
nop
je 0x140038a50
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0xa0], rax
test byte [rax], al
lea rcx, [rax + 0x4f8]
mov qword [rsp + 0xa8], rcx
nop
mov rax, rcx
call fcn.14000fa40
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xa0]
mov qword [rdx + 0x500], rcx
mov rax, qword [0x1409e3fb8]
mov rcx, qword [r14 + 0x30]
movups xmmword [rcx + 0x2e8], xmm15
call fcn.140038d20
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x48], rax
cmp qword [rcx + 0x518], 0
jne 0x1400386ce
cmp byte [0x141618839], 0
je 0x1400386ce
mov rax, qword [0x1409e3f90]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.140038f80
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x518], rax
test rax, rax
je 0x1400389f0
cmp qword [rcx + 0x528], 0
jne 0x14003879f
cmp byte [0x141618877], 0
je 0x14003879f
mov rax, qword [0x1409e3f90]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.140038f80
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x520], rax
nop word [rax + rax]
test rax, rax
je 0x140038990
mov rax, qword [0x1415c9d90]
lea rdx, [rcx + 0x528]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], 0x10000000
mov qword [rsp + 0x18], 0
call fcn.140038f00
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x528], 0
je 0x140038945
nop
nop
mov rax, qword [rsp + 0xa8]
call fcn.14000fca0
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
mov rcx, qword [0x1409e4098]
lea rdx, [rsp + 0x50]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call fcn.140038f00
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x1400388e0
mov rax, qword [rsp + 0x58]
lea rcx, [rax + 0x4000]
mov qword [rsp + 0x88], rcx
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x98], rdx
cmp rdx, rcx
jb 0x140038871
sub rdx, rax
lea rax, [rdx - 0x4000]
cmp rax, 0x4000000
ja 0x140038871
mov qword [r14], rcx
mov rax, qword [r14]
add rax, 0x13a0
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
call fcn.140079400
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0xb0
pop rbp
ret
call fcn.14003dd80
lea rax, [0x140c469f0]
mov ebx, 0x13
call fcn.14003e600
mov rax, qword [rsp + 0x88]
call fcn.14003e480
lea rax, [0x140ea92e8]
mov ebx, 1
call fcn.14003e600
mov rax, qword [rsp + 0x98]
call fcn.14003e480
lea rax, [0x140c31d2d]
mov ebx, 2
nop
call fcn.14003e600
call fcn.14003dde0
lea rax, [0x140c3c4e9]
mov ebx, 0xc
call fcn.140070ac0
nop dword [rax + rax]
call fcn.14007ae20
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x90], rax
call fcn.14003dd80
lea rax, [0x140c64f20]
mov ebx, 0x24
call fcn.14003e600
mov rax, qword [rsp + 0x90]
call fcn.14003e340
call fcn.14003dfc0
call fcn.14003dde0
lea rax, [0x140c61078]
mov ebx, 0x22
nop dword [rax + rax]
call fcn.140070ac0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x80], rax
call fcn.14003dd80
lea rax, [0x140c7ef9e]
mov ebx, 0x34
call fcn.14003e600
mov rax, qword [rsp + 0x80]
call fcn.14003e340
call fcn.14003dfc0
call fcn.14003dde0
lea rax, [0x140c62ee0]
mov ebx, 0x23
call fcn.140070ac0
call fcn.14007ae20
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x90], rax
call fcn.14003dd80
lea rax, [0x140c768dc]
mov ebx, 0x2d
call fcn.14003e600
mov rax, qword [rsp + 0x90]
call fcn.14003e340
call fcn.14003dfc0
call fcn.14003dde0
lea rax, [0x140c7af73]
mov ebx, 0x30
call fcn.140070ac0
call fcn.14007ae20
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x90], rax
call fcn.14003dd80
lea rax, [0x140c768dc]
mov ebx, 0x2d
call fcn.14003e600
mov rax, qword [rsp + 0x90]
call fcn.14003e340
call fcn.14003dfc0
call fcn.14003dde0
lea rax, [0x140c7af73]
mov ebx, 0x30
call fcn.140070ac0
call fcn.14007ae20
xorps xmm15, xmm15
mov r14, qword [0x141618d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x90], rax
call fcn.14003dd80
lea rax, [0x140c768af]
mov ebx, 0x2d
call fcn.14003e600
mov rax, qword [rsp + 0x90]
call fcn.14003e340
call fcn.14003dfc0
call fcn.14003dde0
lea rax, [0x140c6714a]
mov ebx, 0x25
call fcn.140070ac0
nop
call fcn.1400776a0
jmp fcn.140038580