Function at 0x100bea40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1134
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x1012eb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x2fc], 1
cmp byte [edi + 0xcc], 0
je 0x100bf6f5
lea eax, [edi + 0x1c]
mov byte [edi + 0xcc], 0
push eax
lea ecx, [ebp - 0x24c]
call fcn.1004a270
cmp dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
jne 0x100beb91
cmp byte [edi + 0xcd], 0
lea eax, [ebp - 0x234]
sete byte [ebp - 0x300]
push dword [ebp - 0x300]
push eax
call fcn.100bfef0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x24c]
cmp eax, esi
je 0x100beb70
mov ecx, dword [ebp - 0x238]
cmp ecx, 0xf
jbe 0x100beb2d
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
mov byte [ebp - 4], 1
cmp ecx, 0x1000
jb 0x100beb1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100beb1f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e50ed
add esp, 8
mov byte [ebp - 4], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x23c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x220]
cmp eax, 0xf
jbe 0x100beb91
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x234]
push eax
call fcn.1002d680
add esp, 0xc
lea ecx, [edi + 0xb0]
lea eax, [ebp - 0x24c]
cmp ecx, eax
je 0x100bebbb
cmp dword [ebp - 0x238], 0xf
push dword [ebp - 0x23c]
cmova eax, dword [ebp - 0x24c]
push eax
call fcn.1004a6d0
lea eax, [edi + 0x34]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x300], eax
push ecx
mov ecx, eax
call fcn.100c0770
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0xf
movups xmmword [ebp - 0x264], xmm0
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x2fc], 1
call fcn.100c17b0
push 0x100
mov esi, eax
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test esi, esi
je 0x100bed4f
push 0x100
lea eax, [ebp - 0x11c]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100bed4f
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bec80
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.1004a6d0
push 0x100
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x100
push eax
push 0x1002
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100bed0c
push 1
push 0x100f6bc4
lea ecx, [ebp - 0x27c]
call fcn.1004a7d0
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100becf0
sub ecx, edx
lea eax, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.1004a7d0
push 0xa
lea eax, [ebp - 0x1c]
mov word [ebp - 0x14], 0
push eax
push 0x1004
xorps xmm0, xmm0
push esi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100bed4f
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bed36
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.1004a6d0
cmp byte [edi + 0x94], 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], 7
push eax
jne 0x100befee
mov dword [edi + 0xc8], 0
call fcn.100be8f0
add esp, 4
test al, al
je 0x100bedb3
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x24c]
cmp ecx, eax
je 0x100bf65c
cmp dword [ebp - 0x238], 0xf
push dword [ebp - 0x23c]
cmova eax, dword [ebp - 0x24c]
push eax
call fcn.1004a6d0
jmp 0x100bf65c
cmp dword [ebp - 0x26c], 0
je 0x100befd7
cmp dword [ebp - 0x254], 0
je 0x100befd7
lea eax, [ebp - 0x27c]
push eax
call fcn.100be8f0
add esp, 4
test al, al
je 0x100befd7
sub esp, 8
lea ecx, [edi + 0x64]
cmp dword [edi + 0x78], 0xf
mov edx, esp
jbe 0x100bedf5
mov ecx, dword [edi + 0x64]
mov dword [edx], ecx
mov eax, dword [edi + 0x74]
mov dword [edx + 4], eax
lea eax, [ebp - 0x294]
push eax
call fcn.100bc5c0
mov esi, eax
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x250], 0xf
lea ecx, [ebp - 0x264]
mov edx, esp
cmova ecx, dword [ebp - 0x264]
mov dword [edx], ecx
mov eax, dword [ebp - 0x254]
mov dword [edx + 4], eax
lea eax, [ebp - 0x234]
push eax
call fcn.100bc5c0
add esp, 0xc
mov edx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x100bee4c
mov edx, dword [esi]
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x100bee56
mov ecx, dword [eax]
push dword [esi + 0x10]
push edx
push dword [eax + 0x10]
push ecx
call fcn.1004bd50
mov ecx, dword [ebp - 0x220]
add esp, 0x10
mov byte [ebp - 0x301], al
cmp ecx, 0xf
jbe 0x100bee8d
push ecx
push dword [ebp - 0x234]
lea eax, [ebp - 0x234]
push eax
call fcn.1002d680
add esp, 0xc
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov byte [ebp - 4], 7
cmp eax, 0xf
jbe 0x100beecd
push eax
push dword [ebp - 0x294]
lea eax, [ebp - 0x294]
push eax
call fcn.1002d680
add esp, 0xc
cmp byte [ebp - 0x301], 0
je 0x100bef09
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x27c]
cmp ecx, eax
je 0x100bf65c
cmp dword [ebp - 0x268], 0xf
push dword [ebp - 0x26c]
cmova eax, dword [ebp - 0x27c]
push eax
call fcn.1004a6d0
jmp 0x100bf65c
cmp dword [ebp - 0x254], 0
je 0x100befd7
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call esi
push 0xa
lea ecx, [ebp - 0x300]
push ecx
mov dword [eax], 0
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0xf
mov dword [ebp - 0x300], 0
cmova eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [ebp - 0x308], eax
call esi
cmp dword [eax], 0x22
je 0x100befd7
cmp dword [ebp - 0x250], 0xf
lea ecx, [ebp - 0x264]
mov eax, dword [ebp - 0x254]
cmova ecx, dword [ebp - 0x264]
add eax, ecx
cmp dword [ebp - 0x300], eax
jne 0x100befd7
sub esp, 8
lea eax, [edi + 0x64]
mov ecx, esp
push eax
call fcn.100be080
call fcn.100bc470
add esp, 8
cmp dword [ebp - 0x308], eax
jne 0x100befd7
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x27c]
cmp ecx, eax
je 0x100bf65c
cmp dword [ebp - 0x268], 0xf
push dword [ebp - 0x26c]
cmova eax, dword [ebp - 0x27c]
push eax
call fcn.1004a6d0
jmp 0x100bf65c
push 1
push 0x100f6bc0
lea ecx, [edi + 0x98]
call fcn.1004a6d0
jmp 0x100bf65c
call fcn.100be8f0
add esp, 4
test al, al
je 0x100bf033
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x24c]
cmp ecx, eax
je 0x100bf024
cmp dword [ebp - 0x238], 0xf
push dword [ebp - 0x23c]
cmova eax, dword [ebp - 0x24c]
push eax
call fcn.1004a6d0
mov dword [edi + 0xc8], 1
jmp 0x100bf65c
xor edi, edi
mov dword [ebp - 0x1c], 0
xor esi, esi
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 9
cmp dword [ebp - 0x26c], edi
je 0x100bf07a
cmp dword [ebp - 0x254], edi
je 0x100bf07a
lea eax, [ebp - 0x27c]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.1008df10
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2fc], edi
lea eax, [ebp - 0x234]
xorps xmm0, xmm0
push eax
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30c], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.UTF_8]
mov dword [ecx], eax
mov al, byte [0x100f6388]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push dword [ebp - 0x300]
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0xa
call fcn.100be190
mov byte [ebp - 4], 0xb
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.100c0530
mov ecx, eax
call fcn.100c10f0
mov byte [ebp - 4], 0xd
cmp esi, edi
je 0x100bf125
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x18], esi
jmp 0x100bf13b
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008dd90
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2fc], edi
mov eax, dword [ebp - 0x220]
cmp eax, 0xf
jbe 0x100bf15c
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x234]
push eax
call fcn.1002d680
add esp, 0xc
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.100be220
lea eax, [ebp - 0x234]
xorps xmm0, xmm0
push eax
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30c], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 4
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.utf8]
mov dword [ecx], eax
mov byte [ecx + 4], 0
push dword [ebp - 0x300]
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0xe
call fcn.100be190
mov byte [ebp - 4], 0xf
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.100c0530
mov ecx, eax
call fcn.100c10f0
mov byte [ebp - 4], 0x11
cmp esi, edi
je 0x100bf225
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x18], esi
jmp 0x100bf23b
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008dd90
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2fc], edi
mov eax, dword [ebp - 0x220]
cmp eax, 0xf
jbe 0x100bf25c
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x234]
push eax
call fcn.1002d680
add esp, 0xc
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.100be220
lea eax, [ebp - 0x234]
xorps xmm0, xmm0
push eax
push 1
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x30c], esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x300]
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0x12
call fcn.100be190
mov byte [ebp - 4], 0x13
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.100c0530
mov ecx, eax
call fcn.100c10f0
mov byte [ebp - 4], 0x15
cmp esi, edi
je 0x100bf31d
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x18], esi
jmp 0x100bf333
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008dd90
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2fc], edi
mov eax, dword [ebp - 0x220]
cmp eax, 0xf
jbe 0x100bf354
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x234]
push eax
call fcn.1002d680
add esp, 0xc
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.100be220
mov eax, dword [str.C.UTF_8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x234], eax
mov ax, word [0x100f6be4]
mov word [ebp - 0x230], ax
mov al, byte [0x100f6be6]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x22e], al
mov byte [ebp - 0x22d], 0
mov byte [ebp - 4], 0x16
cmp esi, edi
je 0x100bf406
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, 0xf
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x234], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x18], esi
jmp 0x100bf428
lea eax, [ebp - 0x234]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008dd90
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x2fc], edi
cmp eax, 0xf
jbe 0x100bf443
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x234]
push eax
call fcn.1002d680
add esp, 0xc
mov eax, dword [str.C.utf8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x234], eax
mov ax, word [0x100f6bec]
mov dword [ebp - 0x224], 6
mov dword [ebp - 0x220], 0xf
mov word [ebp - 0x230], ax
mov byte [ebp - 0x22e], 0
mov byte [ebp - 4], 0x17
cmp esi, edi
je 0x100bf4c4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, 0xf
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x234], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x18], esi
jmp 0x100bf4e6
lea eax, [ebp - 0x234]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008dd90
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x2fc], edi
cmp eax, 0xf
jbe 0x100bf501
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x234]
push eax
call fcn.1002d680
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x224], 1
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x220], 0xf
mov word [ebp - 0x234], 0x43
mov byte [ebp - 4], 0x18
cmp esi, edi
je 0x100bf56c
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov ecx, 0xf
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x234], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x18], esi
jmp 0x100bf58e
lea eax, [ebp - 0x234]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008dd90
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 9
cmp ecx, 0xf
jbe 0x100bf5d0
mov edx, dword [ebp - 0x234]
inc ecx
mov eax, edx
mov byte [ebp - 4], 0x19
cmp ecx, 0x1000
jb 0x100bf5c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bf5c2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e50ed
add esp, 8
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x1c]
cmp edi, esi
je 0x100bf610
push edi
call fcn.100be8f0
add esp, 4
test al, al
jne 0x100bf5ed
add edi, 0x18
cmp edi, esi
jne 0x100bf5d7
jmp 0x100bf610
mov ecx, dword [ebp - 0x308]
add ecx, 0x98
cmp ecx, edi
je 0x100bf610
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x100bf607
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.1004a6d0
mov edi, dword [ebp - 0x308]
mov dword [edi + 0xc8], 2
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
test edi, edi
je 0x100bf65c
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
call fcn.10084250
mov ecx, dword [ebp - 0x2fc]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.10080850
mov eax, dword [ebp - 0x250]
cmp eax, 0xf
jbe 0x100bf67d
push eax
push dword [ebp - 0x264]
lea eax, [ebp - 0x264]
push eax
call fcn.1002d680
add esp, 0xc
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
cmp eax, 0xf
jbe 0x100bf6b9
push eax
push dword [ebp - 0x27c]
lea eax, [ebp - 0x27c]
push eax
call fcn.1002d680
add esp, 0xc
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
cmp eax, 0xf
jbe 0x100bf6f5
push eax
push dword [ebp - 0x24c]
lea eax, [ebp - 0x24c]
push eax
call fcn.1002d680
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e4fca
mov esp, ebp
pop ebp
ret