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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov eax, 4
call fcn.1013eb30
mov eax, esp
mov ecx, 8
mov dword [esi + 0x7c], eax
mov eax, ecx
call fcn.1013eb30
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 0x10
mov dword [esi + 0x78], eax
mov eax, ecx
mov dword [esi + 0x74], ecx
call fcn.1013eb30
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x70], eax
mov eax, ecx
call fcn.1013eb30
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 0x14
mov dword [esi + 0x6c], eax
mov eax, ecx
call fcn.1013eb30
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
mov dword [edx], 0xce9
sub esp, 0xc
mov edi, esp
mov dword [edi + 4], edx
lea ebx, [esi + 0x80]
mov dword [edi], ebx
mov dword [edi + 8], 0x967
mov edi, dword [sym.imp.USER32.dll_GetRawInputDeviceList]
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], ecx
call edi
sub esp, 0x10
mov ecx, esp
mov edx, dword [esi + 0x70]
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 [esi + 0x60], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
jmp 0x1000174e
mov eax, dword [esi + 0x54]
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x1a8
mov ecx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esi + 0x50], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax], 0x5e2ba9
mov eax, dword [sym.imp.KERNEL32.dll_LockResource]
call eax
mov ecx, dword [esi + 0x68]
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 edx, dword [esi + 0x78]
mov dword [edx + 4], 0
mov dword [edx], 0
sub esp, 0x10
mov edi, esp
mov ebx, dword [esi + 0x64]
mov dword [edi + 8], ebx
mov dword [edi], ecx
mov dword [edi + 0xc], 0xbff
mov dword [edi + 4], 0x31b
mov edi, dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorSacl]
mov dword [esi + 0x4c], eax
call edi
mov ecx, dword [esi + 0x50]
add ecx, 1
cmp ecx, 0xa
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], ecx
je 0x10001738
jmp 0x10001630
sub esp, 0x10
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
mov dword [esi + 0x44], eax
jmp 0x100017ad
mov eax, dword [esi + 0x40]
mov ecx, 0x38e38e39
mov dword [esi + 0x3c], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov eax, ecx
sub eax, 2
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], eax
je 0x100016d2
jmp 0x10001728
mov eax, dword [esi + 0x38]
sub eax, 9
mov dword [esi + 0x30], eax
je 0x100017ad
jmp 0x100017c8
mov eax, dword [esi + 0x2c]
add eax, 1
cmp eax, 0xc
mov dword [esi + 0x58], eax
je 0x100018b1
mov eax, dword [esi + 0x58]
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x7c0
mov dword [ecx], 0x3ad
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esi + 0x2c], eax
call ecx
sub esp, 0x14
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 [esi + 0x28], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x40], ecx
jmp 0x10001701
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x62b
mov dword [eax], 0xf0ea34
mov eax, dword [sym.imp.USER32.dll_SwitchToThisWindow]
call eax
jmp 0x100017c8
mov eax, dword [esi + 0x3c]
add eax, 1
cmp eax, 0xa8
mov dword [esi + 0x40], eax
jne 0x10001701
xor eax, eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf25
mov dword [ecx + 0x10], 0x10292090
mov dword [ecx + 0xc], 0xf25
mov dword [ecx + 8], 0x102920a4
mov dword [ecx + 4], 0xf69
mov dword [ecx], 0xc68
mov ecx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esi + 0x20], eax
call ecx
xor ecx, ecx
mov edx, dword [esi + 0x2c]
sub edx, 0xd
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], edx
je 0x10001886
jmp 0x1000182e
mov eax, dword [esi + 0x2c]
sub eax, 0x30
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x54], ecx
jne 0x10001630
jmp 0x10001845
sub esp, 4
mov eax, esp
mov dword [eax], 0xd6fb2e
mov eax, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [esi + 0x6c]
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 [esi + 0xc], eax
call ecx
mov dword [esi + 8], eax
jmp 0x10001886
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x426209
mov dword [ecx], 0x5d7a15
mov ecx, dword [sym.imp.USER32.dll_ValidateRgn]
mov dword [esi + 4], eax
call ecx
mov dword [esi], eax
jmp 0x10001738
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret