Function at 0x10017077
Capabilities:
Get geographical location
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007f20a
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x100a82b0]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0x100a82b0]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp edi, ebx
jne 0x100170eb
xor eax, eax
inc eax
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.10059ccb
mov esp, ebp
pop ebp
ret
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.10016053
pop ecx
push eax
call fcn.1001b540
push ecx
mov dword [esp + 0x334], ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DoInitialize_started._Seconds_time_from_startup:
push ecx
mov ecx, eax
call fcn.10004145
pop ecx
pop ecx
push ebx
push 0x13
push ecx
mov byte [esp + 0x340], 1
call fcn.10016053
pop ecx
mov ecx, eax
mov byte [esp + 0x33c], bl
call fcn.1001ae54
or dword [esp + 0x328], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.100029ea
mov eax, dword [0x100aa3bc]
mov ecx, 0x100aa3bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x330], 2
call fcn.10016053
pop ecx
push eax
call fcn.1001b540
mov byte [esp + 0x328], 3
push dword [eax]
lea eax, [esp + 0x40]
push str.InitStarted
push 0x1008c680
call fcn.100027be
mov byte [esp + 0x334], 2
mov eax, dword [esp + 0x34]
add esp, 0xc
add eax, 0xfffffff0
call fcn.100029ea
mov eax, dword [esp + 0x3c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
mov dword [esp + 0x5c], eax
call fcn.1000296d
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x330], 4
call fcn.10016053
pop ecx
mov esi, eax
mov byte [esp + 0x32c], 2
call fcn.1001aeee
lea esi, [esp + 0x34]
mov byte [esp + 0x64], bl
call fcn.10026f5a
mov esi, 0x101
mov byte [esp + 0x328], 5
push esi
mov dword [esp + 0x2c], ebx
call fcn.10059bd9
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov byte [eax], bl
push 0x84
mov byte [esp + 0x32c], 6
call fcn.10059e60
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x328], 7
cmp eax, ebx
je 0x10017258
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 8]
mov esi, dword [edi]
push ecx
push edx
push esi
push eax
call fcn.1001f20b
mov dword [esp + 0x18], eax
jmp 0x1001725c
mov dword [esp + 0x18], ebx
mov byte [esp + 0x328], 6
cmp byte [0x100aba31], bl
jne 0x10017271
call fcn.100296dd
push 0x100aafc0
lea esi, [esp + 0x38]
call fcn.10027362
mov esi, 0x80
push esi
lea eax, [esp + 0x218]
push eax
push 0x59
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x218]
push esi
push eax
call fcn.1002a5ca
add esp, 0xc
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x98]
push esi
push eax
call fcn.1005a1db
add esp, 0xc
push 0x1008c3a4
lea eax, [esp + 0x98]
push esi
push eax
call fcn.1005c001
add esp, 0xc
push dword [edi + 0x18]
lea eax, [esp + 0x98]
push esi
push eax
call fcn.1005c001
add esp, 0xc
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x198]
push esi
push eax
call fcn.1005a1db
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
call fcn.1002bc02
push 0x1008c48c
lea esi, [esp + 0x20]
mov byte [esp + 0x32c], 8
call fcn.10026f71
mov byte [esp + 0x328], 9
push dword [eax]
lea esi, [esp + 0x70]
call fcn.10027362
mov byte [esp + 0x328], 8
cmp dword [esp + 0x1c], ebx
je 0x1001735f
push dword [esp + 0x1c]
call fcn.1005a1d0
pop ecx
push 0x1008c544
lea esi, [esp + 0x20]
call fcn.10026f71
mov byte [esp + 0x328], 0xa
push dword [eax]
lea esi, [esp + 0x78]
call fcn.10027362
mov byte [esp + 0x328], 8
cmp dword [esp + 0x1c], ebx
je 0x10017398
push dword [esp + 0x1c]
call fcn.1005a1d0
pop ecx
lea eax, [edi + 0x10]
push eax
lea esi, [esp + 0x20]
call fcn.10026fc8
mov byte [esp + 0x328], 0xb
push dword [eax]
lea esi, [esp + 0x88]
call fcn.10027362
mov byte [esp + 0x328], 8
cmp dword [esp + 0x1c], ebx
je 0x100173d3
push dword [esp + 0x1c]
call fcn.1005a1d0
pop ecx
lea eax, [esp + 0x94]
push eax
lea esi, [esp + 0x20]
call fcn.10026f71
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
push eax
lea eax, [esp + 0x78]
lea ecx, [edi + 8]
push eax
lea edx, [esp + 0x44]
mov byte [esp + 0x338], 0xc
call fcn.1002bf0b
mov byte [esp + 0x328], 8
mov esi, eax
cmp dword [esp + 0x1c], ebx
je 0x10017422
push dword [esp + 0x1c]
call fcn.1005a1d0
pop ecx
call fcn.1001e174
mov byte [eax + 0xd], 1
cmp esi, ebx
je 0x100174f1
cmp dword [esp + 0x18], ebx
je 0x10017442
push dword [esp + 0x18]
call fcn.100163ed
push edi
call fcn.10016f72
push ebx
push 1
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov edi, 0x1008c710
call fcn.100022a8
push ebx
push 1
push ecx
mov byte [esp + 0x340], 0xd
call fcn.10016053
pop ecx
mov ecx, eax
mov byte [esp + 0x33c], 8
call fcn.1001ae54
call fcn.10016053
cmp dword [eax + 0x148], ebx
je 0x1001749c
call fcn.10016053
push dword [eax + 0x148]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x32c], 6
call fcn.1002bc52
mov byte [esp + 0x328], 5
cmp dword [esp + 0x2c], ebx
je 0x100174c6
push dword [esp + 0x2c]
call fcn.1005a1d0
pop ecx
mov byte [esp + 0x328], 2
cmp dword [esp + 0x34], ebx
je 0x100174de
push dword [esp + 0x34]
call fcn.1005a1d0
pop ecx
push 0xffffffffffffff9d
pop ebx
mov eax, dword [esp + 0x58]
call fcn.100029ea
mov eax, ebx
jmp 0x100170c7
push dword [esp + 0x18]
push ecx
call fcn.10016053
pop ecx
mov esi, eax
call fcn.10016553
call fcn.1001e174
push eax
mov cl, 1
call fcn.1001e2d7
call fcn.10016053
mov esi, eax
call fcn.10016514
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x10017592
push 0xc4
call fcn.10059e60
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x328], 0xe
cmp eax, ebx
je 0x1001756a
push 0x10089ad2
lea esi, [esp + 0x60]
call fcn.10026f71
push ebx
mov byte [esp + 0x32c], 0xf
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x30], 1
call fcn.10030a1f
jmp 0x1001756c
xor eax, eax
mov dword [esp + 0x328], 8
test byte [esp + 0x24], 1
mov dword [esp + 0x14], eax
je 0x10017592
cmp dword [esp + 0x5c], ebx
je 0x10017592
push dword [esp + 0x5c]
call fcn.1005a1d0
pop ecx
call fcn.10016053
add eax, 0x74
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x328], 0x11
push dword [esp + 0x28]
lea eax, [esp + 0x44]
push eax
call fcn.1002e9ad
push dword [esp + 0x14]
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x4c]
call fcn.1001f9b7
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x1001769b
push ebx
push ecx
call fcn.10016053
pop ecx
mov esi, eax
call fcn.10016553
push ebx
push ecx
call fcn.10016053
pop ecx
mov esi, eax
call fcn.10016522
cmp dword [esp + 0x14], ebx
je 0x1001760e
push dword [esp + 0x14]
call fcn.100163d2
push edi
call fcn.10016f72
call fcn.1001e174
push eax
xor cl, cl
call fcn.1001e2d7
call fcn.10016053
cmp dword [eax + 0x148], ebx
je 0x1001763f
call fcn.10016053
push dword [eax + 0x148]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x40]
mov byte [esp + 0x328], 8
call fcn.1002ddf3
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x32c], 6
call fcn.1002bc52
mov byte [esp + 0x328], 5
cmp dword [esp + 0x2c], ebx
je 0x1001767a
push dword [esp + 0x2c]
call fcn.1005a1d0
pop ecx
mov byte [esp + 0x328], 2
cmp dword [esp + 0x34], ebx
je 0x10017692
push dword [esp + 0x34]
call fcn.1005a1d0
pop ecx
mov ebx, dword [esp + 0x24]
jmp 0x100174e1
mov eax, dword [esp + 0x18]
call fcn.1001f38f
test al, al
je 0x1001793e
push 2
pop esi
push esi
push 1
push 0x6b
call fcn.10007258
add esp, 0xc
push 3
push 1
push 0x6c
call fcn.10007258
add esp, 0xc
push ebx
push 1
push 0x6d
call fcn.10007258
add esp, 0xc
push 1
push 1
push 0x6e
call fcn.10007258
add esp, 0xc
push esi
push esi
push 0x74
call fcn.10007258
add esp, 0xc
push 3
push esi
push 0x76
call fcn.10007258
add esp, 0xc
push ebx
push esi
push 0x73
call fcn.10007258
add esp, 0xc
push 1
push esi
push 0x75
call fcn.10007258
add esp, 0xc
push 0x79
call fcn.100071d8
pop ecx
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x10017798
push 0x1008c8a0
lea esi, [esp + 0x54]
call fcn.10026f71
mov dword [esp + 0x1c], eax
push str.OCNext
lea esi, [esp + 0x4c]
mov byte [esp + 0x32c], 0x12
call fcn.10026f71
mov byte [esp + 0x328], 0x13
push dword [esp + 0x1c]
push eax
push dword [esp + 0x2c]
call fcn.10026d80
add esp, 0xc
mov byte [esp + 0x328], 0x12
cmp dword [esp + 0x48], ebx
je 0x10017780
push dword [esp + 0x48]
call fcn.1005a1d0
pop ecx
mov byte [esp + 0x328], 0x11
cmp dword [esp + 0x50], ebx
je 0x10017798
push dword [esp + 0x50]
call fcn.1005a1d0
pop ecx
push 0x7a
call fcn.100071d8
pop ecx
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x10017819
push str.Global
lea esi, [esp + 0x4c]
call fcn.10026f71
mov dword [esp + 0x1c], eax
push str.OCPrev
lea esi, [esp + 0x54]
mov byte [esp + 0x32c], 0x14
call fcn.10026f71
mov byte [esp + 0x328], 0x15
push dword [esp + 0x1c]
push eax
push dword [esp + 0x2c]
call fcn.10026d80
add esp, 0xc
mov byte [esp + 0x328], 0x14
cmp dword [esp + 0x50], ebx
je 0x10017801
push dword [esp + 0x50]
call fcn.1005a1d0
pop ecx
mov byte [esp + 0x328], 0x11
cmp dword [esp + 0x48], ebx
je 0x10017819
push dword [esp + 0x48]
call fcn.1005a1d0
pop ecx
movzx eax, byte [edi + 0x20]
mov esi, dword [esp + 0x18]
push eax
call fcn.1001f3a6
mov eax, esi
mov esi, dword [eax + 4]
jmp 0x1001783c
push 1
push 2
push dword [esi]
call fcn.10020c3d
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x1001782e
push dword [esp + 0x28]
call fcn.1001419c
push eax
call fcn.100155d0
test al, al
jne 0x1001788a
call fcn.1001e174
push eax
mov cl, 1
call fcn.1001e341
lea eax, [edi + 8]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x34
push eax
lea eax, [edi + 0x10]
push eax
call fcn.1001419c
push eax
call fcn.10014574
call fcn.1001e174
push eax
xor cl, cl
call fcn.1001e341
jmp 0x10017893
call fcn.1001419c
mov byte [eax + 0x48], 1
call fcn.10016053
mov esi, eax
call fcn.100165c3
push dword [esp + 0x14]
push ecx
call fcn.10016053
pop ecx
mov esi, eax
call fcn.10016522
push edi
call fcn.10016f72
call fcn.1001e174
push eax
xor cl, cl
call fcn.1001e2d7
call fcn.10016053
cmp dword [eax + 0x148], ebx
je 0x100178e2
call fcn.10016053
push dword [eax + 0x148]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x40]
mov byte [esp + 0x328], 8
call fcn.1002ddf3
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x32c], 6
call fcn.1002bc52
mov byte [esp + 0x328], 5
cmp dword [esp + 0x2c], ebx
je 0x1001791d
push dword [esp + 0x2c]
call fcn.1005a1d0
pop ecx
mov byte [esp + 0x328], 2
cmp dword [esp + 0x34], ebx
je 0x100174e1
push dword [esp + 0x34]
call fcn.1005a1d0
pop ecx
jmp 0x100174e1
call fcn.10016053
mov esi, eax
call fcn.100165c3
push ebx
push ecx
call fcn.10016053
pop ecx
mov esi, eax
call fcn.10016522
cmp dword [esp + 0x14], ebx
je 0x10017968
push dword [esp + 0x14]
call fcn.100163d2
push edi
call fcn.10016f72
call fcn.1001e174
push eax
xor cl, cl
call fcn.1001e2d7
call fcn.10016053
cmp dword [eax + 0x148], ebx
je 0x10017999
call fcn.10016053
push dword [eax + 0x148]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x40]
mov byte [esp + 0x328], 8
call fcn.1002ddf3
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x32c], 6
call fcn.1002bc52
mov byte [esp + 0x328], 5
cmp dword [esp + 0x2c], ebx
je 0x100179d4
push dword [esp + 0x2c]
call fcn.1005a1d0
pop ecx
mov byte [esp + 0x328], 2
cmp dword [esp + 0x34], ebx
je 0x100179ec
push dword [esp + 0x34]
call fcn.1005a1d0
pop ecx
push 0xfffffffffffffffb
jmp 0x100174e0