Function at 0x100015a4
Capabilities:
Extract resource via kernel32 functions
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xe0
lea eax, [esp + 0x88]
mov dword [esp + 0xcc], 0xce9
mov ecx, esp
lea edx, [esp + 0xcc]
mov dword [ecx + 4], edx
lea edx, [esp + 0xd0]
mov dword [ecx], edx
mov dword [ecx + 8], 0x967
mov ecx, dword [sym.imp.USER32.dll_GetRawInputDeviceList]
mov dword [esp + 0x84], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 0x45d
mov dword [ecx + 8], 0x756
mov dword [ecx], 0x92a63
mov ecx, dword [sym.imp.USER32.dll_DrawFrameControl]
mov dword [esp + 0x80], eax
call ecx
sub esp, 0x10
xor ecx, ecx
lea edx, [esp + 0x90]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ecx
jmp 0x100016d2
xor eax, eax
mov ecx, esp
mov dword [ecx + 0x14], 0xf25
mov dword [ecx + 0x10], 0x101ec0a2
mov dword [ecx + 0xc], 0xf25
mov dword [ecx + 8], 0x101ec0b6
mov dword [ecx + 4], 0xf69
mov dword [ecx], 0xc68
mov ecx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0x18
xor ecx, ecx
mov edx, dword [esp + 0x6c]
sub edx, 0xd
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
je 0x10001802
jmp 0x10001696
mov eax, dword [esp + 0x6c]
sub eax, 0x30
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
je 0x100017bd
jmp 0x10001830
mov eax, esp
mov dword [eax + 4], 0x62b
mov dword [eax], 0xf0ea34
mov eax, dword [sym.imp.USER32.dll_SwitchToThisWindow]
call eax
sub esp, 8
jmp 0x100017a0
mov eax, dword [esp + 0x74]
mov ecx, esp
mov dword [ecx + 4], 0x7c0
mov dword [ecx], 0x3ad
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x10], 0x25b
mov dword [ecx + 0xc], 0xb56
mov dword [ecx + 8], 0xb56
mov dword [ecx + 4], 0x25b
mov dword [ecx], 0x8590
mov ecx, dword [sym.imp.USER32.dll_CopyImage]
mov dword [esp + 0x54], eax
call ecx
sub esp, 0x14
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, 0x38e38e39
mov dword [esp + 0x48], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, ecx
sub eax, 9
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
je 0x100016b4
jmp 0x10001761
mov eax, dword [esp + 0x44]
sub eax, 2
mov dword [esp + 0x3c], eax
jne 0x100017a0
jmp 0x10001770
mov eax, esp
mov dword [eax + 0xc], 0xbd5
mov dword [eax + 8], 1
mov dword [eax + 4], 0x950
mov dword [eax], 0xab5e7f
mov eax, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call eax
sub esp, 0x10
mov dword [esp + 0x38], eax
jmp 0x100016b4
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0xa8
mov dword [esp + 0x4c], eax
je 0x1000163d
jmp 0x10001731
mov eax, esp
mov dword [eax], 0xd6fb2e
mov eax, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xa8]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x110
mov dword [ecx + 4], 0x531637
mov dword [ecx], 0xd0aea8
mov ecx, dword [sym.imp.USER32.dll_DrawCaption]
mov dword [esp + 0x34], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call eax
mov ecx, esp
mov dword [ecx + 4], 0x426209
mov dword [ecx], 0x5d7a15
mov ecx, dword [sym.imp.USER32.dll_ValidateRgn]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 8
mov dword [esp + 0x28], eax
jmp 0x100018dd
mov eax, dword [esp + 0x58]
inc eax
mov ecx, esp
mov dword [ecx], 0x1a8
mov ecx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x24], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax], 0x5e2ba9
mov eax, dword [sym.imp.KERNEL32.dll_LockResource]
call eax
sub esp, 4
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov edx, esp
mov esi, dword [esp + 0x84]
mov dword [edx + 8], esi
mov dword [edx], ecx
mov dword [edx + 0xc], 0xbff
mov dword [edx + 4], 0x31b
mov edx, dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorSacl]
mov dword [esp + 0x20], eax
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x24]
cmp ecx, 0xa
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], ecx
jne 0x10001830
mov eax, dword [esp + 0x6c]
add eax, 1
cmp eax, 0xc
mov dword [esp + 0x74], eax
jne 0x100016d2
lea esp, [ebp - 4]
pop esi
pop ebp
ret