Function at 0x100e27a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3e9e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
lea esi, [eax + 0x30]
mov dword [ebp - 0x5c], eax
xor ecx, ecx
mov dword [ebp - 0x58], 1
xor edx, edx
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [eax + 0x18]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x54], eax
mov byte [esi], dl
mov dword [ecx + 0x10], 1
mov eax, ecx
cmp dword [ecx + 0x14], 7
mov dword [ebp - 4], edx
mov dword [ebp - 0x58], 1
jbe 0x100e2843
mov eax, dword [ecx]
mov dword [eax], 0x2e
mov edi, dword [edi]
test edi, edi
je 0x100e2b48
push 4
lea eax, [ebp - 0x20]
movlpd qword [ebp - 0x20], xmm0
push eax
push 0xf
push edi
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100e2b48
push 4
lea eax, [ebp - 0x18]
push eax
push 0xe
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100e2b48
push 0xa
lea eax, [ebp - 0x34]
push eax
push 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100e2b48
lea edx, [ebp - 0x18]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100e28b3
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
sub edx, ecx
sar edx, 1
push edx
push eax
lea ecx, [edi + 0x18]
call fcn.100b3710
lea ecx, [ebp - 0x20]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e28e0
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100b3710
mov cx, word [ebp - 0x34]
xor dl, dl
mov dword [ebp - 0x48], edx
mov eax, accept
mov dword [ebp - 0x38], 0
test cx, cx
je 0x100e2a74
movzx ecx, cx
mov edi, 1
movzx ecx, cx
cmp ecx, 0x3b
je 0x100e2a50
lea eax, [ecx - 0x31]
cmp ax, 8
ja 0x100e2a44
mov edi, dword [esi + 0x10]
sub cl, 0x30
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
cmp edi, edx
jae 0x100e2974
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x100e295f
mov eax, dword [esi]
mov edx, dword [ebp - 0x48]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
mov edi, 1
jmp 0x100e2a50
mov eax, accept
sub eax, edi
cmp eax, 1
jb 0x100e2b66
lea ecx, [edi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x100e2999
mov ecx, accept
jmp 0x100e29bd
mov eax, edx
shr eax, 1
mov dword [ebp - 0x3c], eax
mov eax, accept
sub eax, dword [ebp - 0x3c]
cmp edx, eax
jbe 0x100e29b3
mov ecx, accept
jmp 0x100e29bd
mov eax, dword [ebp - 0x3c]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
push eax
push esi
call fcn.1002d700
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x50], 0xf
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x14], eax
lea eax, [ecx + edi]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], eax
jbe 0x100e2a1e
push dword [ebp - 0x4c]
mov edi, dword [esi]
push edi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x40]
push edi
push esi
mov byte [ecx], al
mov byte [ecx + 1], 0
call fcn.1002d680
mov eax, dword [ebp - 0x44]
add esp, 0x18
mov edx, dword [ebp - 0x48]
mov edi, 1
mov dword [esi], eax
jmp 0x100e2a50
push edi
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov edi, 1
mov edx, dword [ebp - 0x48]
mov byte [ecx], al
mov eax, dword [ebp - 0x44]
mov byte [ecx + 1], 0
mov dword [esi], eax
jmp 0x100e2a50
cmp ecx, 0x30
movzx edx, dl
cmove edx, edi
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x38]
inc ecx
mov dword [ebp - 0x38], ecx
movzx eax, word [ebp + ecx*2 - 0x34]
mov ecx, eax
test ax, ax
jne 0x100e2921
test dl, dl
jne 0x100e2b48
mov eax, accept
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], edx
cmp edi, edx
jae 0x100e2a9c
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
cmp edx, 0xf
jbe 0x100e2a91
mov esi, dword [esi]
mov word [esi + edi], 0x80
jmp 0x100e2b48
sub eax, edi
cmp eax, 1
jb 0x100e2b66
lea ecx, [edi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x100e2abc
mov ecx, accept
jmp 0x100e2ae0
mov eax, edx
shr eax, 1
mov dword [ebp - 0x38], eax
mov eax, accept
sub eax, dword [ebp - 0x38]
cmp edx, eax
jbe 0x100e2ad6
mov ecx, accept
jmp 0x100e2ae0
mov eax, dword [ebp - 0x38]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], ecx
push eax
push esi
call fcn.1002d700
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x44], 0xf
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x14], eax
lea eax, [ecx + edi]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
jbe 0x100e2b30
push dword [ebp - 0x4c]
mov edi, dword [esi]
push edi
push ecx
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
push edi
push esi
mov word [eax], 0x80
call fcn.1002d680
add esp, 0x18
jmp 0x100e2b43
push edi
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov word [eax], 0x80
mov eax, dword [ebp - 0x40]
mov dword [esi], eax
mov eax, dword [ebp - 0x54]
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
call fcn.1002d480
int3