Function at 0x100014de
Capabilities:
Identify system language via api
Query service status
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
xor eax, eax
mov ecx, 0x18
lea edx, [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
call fcn.100e8cf0
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax], ecx
mov dword [eax + 4], 0x304
mov eax, dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0x16a
mov dword [ecx + 4], 0x16a
mov dword [ecx], 0x41bf24
mov ecx, dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 0xc
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x68], eax
call ecx
mov ecx, esp
lea edx, [esp + 0x98]
mov dword [ecx + 4], edx
mov dword [ecx], 0xa45d0a
mov ecx, dword [sym.imp.GDI32.dll_GetDCOrgEx]
mov word [esp + 0x66], ax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x54]
mov ecx, 0xcccccccd
mov dword [esp + 0x50], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
je 0x10001620
jmp 0x100015cb
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x10001639
jmp 0x100015d5
mov byte [esp + 0x97], 4
mov dword [esp + 0x90], 0x59e
mov eax, esp
lea ecx, [esp + 0x90]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x97]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xf79
mov dword [eax + 4], 0xbdc
mov dword [eax], 0x4c79d2
mov eax, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
call eax
sub esp, 0x14
mov dword [esp + 0x44], eax
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_GetClipCursor]
call eax
sub esp, 4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0x73
mov dword [esp + 0x54], eax
jne 0x1000159f
mov byte [esp + 0x7f], 5
mov word [esp + 0x7c], 0x2c
mov eax, esp
lea ecx, [esp + 0x7c]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x7f]
mov dword [eax + 8], ecx
mov dword [eax + 0x14], 0xe31466
mov dword [eax + 0x10], 0x166
mov dword [eax + 4], 0xc7f
mov dword [eax], 0xc7f
mov eax, dword [sym.imp.USER32.dll_ToAsciiEx]
call eax
sub esp, 0x18
mov ecx, dword [esp + 0x58]
sub ecx, 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
je 0x100016ec
jmp 0x100016a5
mov eax, dword [esp + 0x58]
sub eax, 0x3d
mov dword [esp + 0x34], eax
jne 0x10001757
jmp 0x100016b8
mov eax, esp
mov dword [eax], 0x15e9a5
mov eax, dword [sym.imp.GDI32.dll_GetMapMode]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x6c1
mov dword [ecx], 0x20b242
mov ecx, dword [sym.imp.KERNEL32.dll_SetMailslotInfo]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov dword [esp + 0x2c], eax
mov eax, 0x188937
mov dword [esp + 0x78], eax
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x18], 0x402
mov dword [eax + 0x14], 0x5a7
mov dword [eax + 0x10], 0x402
mov dword [eax + 8], 0x188937
mov dword [eax + 4], 0x10dd92
mov dword [eax], 0x58f47
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 8], 0xd5
mov dword [ecx + 4], 0x24a
mov dword [ecx], 0x603
mov dword [esp + 0x28], eax
call sub.urlmon.dll_CoInternetSetFeatureEnabled
sub esp, 0xc
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [eax], 0xd0f
mov eax, dword [sym.imp.KERNEL32.dll_SetUserGeoID]
call eax
sub esp, 4
mov ecx, dword [esp + 0x58]
add ecx, 1
cmp ecx, 0x42
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], ecx
jne 0x10001591
mov esp, ebp
pop ebp
ret