Function at 0x1000d89e
Capabilities:
Get geographical location
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e3f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1000da6f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x1000da16
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1000da14
mov dword [ebp - 0x3c], 0x128a
mov dword [ebp - 0x80], 0x10007760
cmp dword [ebp - 0x3c], 0x14b9
jle 0x1000d9ce
and dword [ebp - 0x20], 0
jmp 0x1000d940
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x57a3
jge 0x1000d9ce
and dword [ebp - 0x18], 0
jmp 0x1000d95a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x662
jge 0x1000d9c9
and dword [ebp - 0x1c], 0
jmp 0x1000d970
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4cc1
jge 0x1000d9c7
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xb4]
call fcn.1000a76e
pop ecx
pop ecx
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.100214f8
push eax
call fcn.10055ddf
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.100214ee
jmp 0x1000d969
jmp 0x1000d953
jmp 0x1000d939
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x126c
jge 0x1000d9ee
push dword [ebp - 0x80]
call fcn.10055ddf
pop ecx
jmp 0x1000da0a
or dword [ebp - 4], 0xffffffff
jmp 0x1000da14
jmp 0x1000da6a
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1000da4d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1000da6a
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.1002185c
mov dword [eax], 0xb96ca2cb
jmp 0x1000da42
jmp 0x1000db83
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1000daa7
push 0x25f6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x1000db83
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x28]
cmp eax, dword [ecx]
jge 0x1000daee
mov dword [ebp - 0x34], 1
jmp 0x1000daf2
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xffffffff
jle 0x1000db01
mov dword [ebp - 0x44], 1
jmp 0x1000db05
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xe3cf9575
jae 0x1000db17
mov dword [ebp - 0x2c], 1
jmp 0x1000db1b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
je 0x1000db2e
mov dword [ebp - 0x30], 1
jmp 0x1000db32
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x1000db47
mov eax, 0xc7c6f1fd
test eax, eax
jne 0x1000db47
and dword [ebp - 0x38], 0
jmp 0x1000db4e
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jl 0x1000db61
mov dword [ebp - 0x40], 1
jmp 0x1000db65
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xffffffff
jg 0x1000db74
mov dword [ebp - 0x48], 1
jmp 0x1000db78
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret