Function at 0x100016d0
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001e3ae
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x10028740]
xor eax, esp
mov dword [esp + 0x16c], eax
push esi
push edi
mov eax, dword [0x10028740]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
cmp byte [0x1002ab80], 0
jne 0x10001e82
lea ecx, [esp + 0x12c]
mov byte [0x1002ab80], 1
call fcn.100013e0
mov dword [esp + 0x188], 0
push 0x1002ab88
mov byte [0x1002ab81], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
movdqa xmm0, xmmword [0x10025970]
mov esi, dword [0x1002ab84]
push 0x10025788
push 0x66
push esi
movdqa xmmword [0x1002aba0], xmm0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x100017b1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100017b1
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100017b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x14], eax
jmp 0x100017b3
xor esi, esi
push esi
call fcn.100067bc
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], edi
push esi
push dword [esp + 0x18]
push edi
call fcn.100091e0
add esp, 0xc
mov edx, esi
mov ecx, edi
push dword [edi]
call fcn.10006750
mov esi, dword [edi + 4]
add esp, 4
add edi, 8
lea eax, [esi + 4]
mov ecx, dword [edi + esi]
add eax, edi
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0xa0], eax
mov edx, dword [eax + ecx]
mov dword [esp + 0x24], edx
call fcn.100067bc
add esp, 4
mov dword [esp + 0x18], eax
push esi
mov esi, eax
push edi
push esi
call fcn.100091e0
add esp, 0xc
test esi, esi
je 0x10001e32
mov edi, dword [esp + 0x9c]
test edi, edi
je 0x10001e32
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 4]
add eax, edi
je 0x10001e32
mov edx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.100066d0
mov ecx, dword [esi]
add esp, 4
mov eax, dword [esi + 4]
mov edx, ecx
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], eax
call fcn.10001360
push eax
mov edx, str.clink
mov byte [esp + 0x18c], 1
lea ecx, [esp + 0xe8]
call fcn.10002770
add esp, 4
push str..exe
mov edx, eax
mov byte [esp + 0x18c], 2
lea ecx, [esp + 0x100]
call fcn.10002800
add esp, 4
cmp dword [esp + 0xf8], 0x10
jb 0x100018bc
push dword [esp + 0xe4]
call fcn.100071a6
add esp, 4
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], 0
mov byte [esp + 0xe4], 0
mov byte [esp + 0x188], 5
cmp dword [esp + 0x50], 0x10
jb 0x100018f5
push dword [esp + 0x3c]
call fcn.100071a6
add esp, 4
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.10001360
push eax
mov edx, str.clinkMsg
mov byte [esp + 0x18c], 6
lea ecx, [esp + 0xa0]
call fcn.10002770
add esp, 4
push str..exe
mov edx, eax
mov byte [esp + 0x18c], 7
lea ecx, [esp + 0x118]
call fcn.10002800
add esp, 4
cmp dword [esp + 0xb0], 0x10
jb 0x1000196e
push dword [esp + 0x9c]
call fcn.100071a6
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
mov byte [esp + 0x188], 0xa
cmp dword [esp + 0x38], 0x10
jb 0x100019a7
push dword [esp + 0x24]
call fcn.100071a6
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x104]
mov dword [esp + 0x40], 0xf
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], 0
mov byte [esp + 0xc0], 0
call fcn.10002220
push 0xffffffffffffffff
mov byte [esp + 0x18c], 0xb
lea eax, [esp + 0x118]
push 0
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
call fcn.10002220
mov byte [esp + 0x188], 0xc
lea ecx, [esp + 0xb4]
cmp dword [esp + 0xc8], 0x10
mov byte [esp + 0x12], 1
cmovae ecx, dword [esp + 0xb4]
call fcn.10004140
test al, al
jne 0x10001a63
mov byte [esp + 0x13], al
jmp 0x10001ab7
cmp dword [esp + 0xc8], 0x10
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x9c]
cmovae edx, dword [esp + 0xb4]
call fcn.100042f0
mov esi, dword [esp + 0x9c]
test esi, esi
jne 0x10001a98
mov byte [esp + 0x13], 0
jmp 0x10001ab7
push dword [esp + 0xa0]
push esi
push dword [esp + 0x1c]
push edi
call fcn.10001490
push esi
mov byte [esp + 0x27], al
call fcn.10007890
add esp, 0x14
cmp dword [esp + 0x18], 0
jne 0x10001b45
cmp dword [esp + 0xe0], 0x10
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
call fcn.10004140
test al, al
jne 0x10001ae8
mov byte [esp + 0x12], al
jmp 0x10001b45
cmp dword [esp + 0xe0], 0x10
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x9c]
cmovae edx, dword [esp + 0xcc]
call fcn.100042f0
mov esi, dword [esp + 0x9c]
test esi, esi
jne 0x10001b1d
mov byte [esp + 0x12], 0
jmp 0x10001b45
push dword [esp + 0xa0]
mov eax, dword [esp + 0x18]
push esi
push dword [esp + 0x28]
add eax, 4
add eax, edi
push eax
call fcn.10001490
push esi
mov byte [esp + 0x26], al
call fcn.10007890
add esp, 0x14
cmp byte [esp + 0x13], 0
jne 0x10001bb5
sub esp, 0x18
lea eax, [esp + 0x114]
mov ecx, esp
push eax
call fcn.10001f60
call fcn.100064e0
add esp, 0x18
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0xc8], 0x10
lea edx, [esp + 0xb4]
push ecx
push dword [esp + 0x18]
cmovae edx, dword [esp + 0xbc]
lea ecx, [esp + 0x5c]
push edi
call fcn.10004540
add esp, 0xc
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x18c], 0xd
call fcn.10001f00
lea ecx, [esp + 0x54]
call fcn.10001eb0
cmp byte [esp + 0x12], 0x5a
jne 0x10001bd2
call fcn.10001640
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [esp + 0x1c]
call fcn.10007890
xorps xmm0, xmm0
mov dword [esp + 0xf0], 0
movq qword [esp + 0xe8], xmm0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
sub esp, 0x14
mov byte [esp + 0x1a0], 0xe
mov ecx, esp
lea eax, [esp + 0x114]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10002220
lea ecx, [esp + 0xfc]
call fcn.10006300
mov eax, dword [esp + 0x100]
add esp, 0x18
mov esi, dword [esp + 0xe4]
sub eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, 0xfffffffc
jne 0x10001c95
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xbc]
mov ecx, 0x100295b0
push eax
call fcn.10002220
push 0
push 0
push 0
push 0x100015c0
push 0
push 0
call edi
cmp dword [esp + 0x18], 0
jne 0x10001d49
xorps xmm0, xmm0
mov dword [esp + 0xa4], 0
movq qword [esp + 0x9c], xmm0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
sub esp, 0x18
mov byte [esp + 0x1a0], 0xf
lea eax, [esp + 0x12c]
mov ecx, esp
push eax
call fcn.10001f60
lea ecx, [esp + 0xb4]
call fcn.10006300
mov eax, dword [esp + 0xb8]
add esp, 0x18
sub eax, dword [esp + 0x9c]
test eax, 0xfffffffc
jne 0x10001d3d
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xd4]
mov ecx, 0x100295c8
push eax
call fcn.10002220
push 0
push 0
push 0
push 0x10001600
push 0
push 0
call edi
lea ecx, [esp + 0x9c]
call fcn.10001fc0
test esi, esi
je 0x10001d56
push esi
call fcn.100071a6
add esp, 4
cmp dword [esp + 0xe0], 0x10
jb 0x10001d6f
push dword [esp + 0xcc]
call fcn.100071a6
add esp, 4
cmp dword [esp + 0xc8], 0x10
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
jb 0x10001da6
push dword [esp + 0xb4]
call fcn.100071a6
add esp, 4
cmp dword [esp + 0x128], 0x10
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
jb 0x10001ddd
push dword [esp + 0x114]
call fcn.100071a6
add esp, 4
cmp dword [esp + 0x110], 0x10
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], 0
mov byte [esp + 0x114], 0
jb 0x10001e14
push dword [esp + 0xfc]
call fcn.100071a6
add esp, 4
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
cmp dword [esp + 0x15c], 0x10
jb 0x10001e4b
push dword [esp + 0x148]
call fcn.100071a6
add esp, 4
cmp dword [esp + 0x144], 0x10
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x158], 0
mov byte [esp + 0x148], 0
jb 0x10001e82
push dword [esp + 0x130]
call fcn.100071a6
add esp, 4
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.10007197
mov esp, ebp
pop ebp
ret