Function at 0x100d1090
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102304a2
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x102db080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x23c], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
mov word [esi], 0x43
mov dword [esi + 0x18], 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 1
call fcn.100da890
mov edi, eax
lea eax, [ebp - 0x11c]
push 0x100
push 0
push eax
mov dword [ebp - 0x248], edi
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
mov word [ebp - 0x14], 0
lea eax, [ebp - 0x11c]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push 0x100
push eax
push 0x1001
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100d13bc
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x234], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d11a0
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.1007dea0
push 0x100
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
push 0x1002
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100d121c
push 1
push 0x1023b234
lea ecx, [ebp - 0x234]
call fcn.10088f70
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d1200
sub ecx, edx
lea eax, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.10088f70
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x234]
cmp esi, eax
je 0x100d1359
cmp dword [ebp - 0x220], 0x10
mov ecx, eax
mov edx, dword [esi + 0x14]
cmovae ecx, edi
mov dword [ebp - 0x244], edx
mov edi, dword [ebp - 0x224]
mov dword [ebp - 0x240], ecx
cmp edi, edx
ja 0x100d1287
mov dword [ebp - 0x238], esi
mov eax, esi
cmp edx, 0x10
jb 0x100d126a
mov eax, dword [esi]
mov dword [ebp - 0x238], eax
push edi
push ecx
push eax
mov dword [esi + 0x10], edi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x238]
add esp, 0xc
mov byte [edi + eax], 0
jmp 0x100d1353
cmp edi, 0x7fffffff
ja 0x100d13db
mov ecx, edi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x100d12a7
mov ecx, closesocket
jmp 0x100d12d4
mov eax, edx
shr eax, 1
mov dword [ebp - 0x238], eax
mov eax, closesocket
sub eax, dword [ebp - 0x238]
cmp edx, eax
jbe 0x100d12c7
mov ecx, closesocket
jmp 0x100d12d4
mov eax, dword [ebp - 0x238]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x238], ecx
push eax
mov ecx, esi
call fcn.1007a130
push edi
push dword [ebp - 0x240]
mov ecx, eax
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 0x238]
push ecx
mov dword [ebp - 0x23c], ecx
mov dword [esi + 0x14], eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x23c]
add esp, 0xc
mov eax, dword [ebp - 0x244]
mov byte [edi + ecx], 0
cmp eax, 0x10
jb 0x100d1351
lea ecx, [eax + 1]
mov eax, dword [esi]
cmp ecx, 0x1000
jb 0x100d133d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d13ac
mov eax, edx
push ecx
push eax
call fcn.100b9c1b
mov eax, dword [ebp - 0x23c]
add esp, 8
mov dword [esi], eax
jmp 0x100d1353
mov dword [esi], ecx
mov edi, dword [ebp - 0x234]
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x1004
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100d1384
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x100d13bc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100d13b2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d13b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.100b9c1b
add esp, 8
mov eax, esi
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.100b9f43
mov esp, ebp
pop ebp
ret 8
call fcn.10089b30
int3