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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001ea8e
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x10029740]
xor eax, esp
mov dword [esp + 0x16c], eax
push esi
push edi
mov eax, dword [0x10029740]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
cmp byte [0x1002bc30], 0
jne 0x10002030
lea ecx, [esp + 0x12c]
mov byte [0x1002bc30], 1
call fcn.10001460
mov dword [esp + 0x188], 0
push 0x1002bc38
mov byte [0x1002bc31], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
movdqa xmm0, xmmword [0x10026940]
mov esi, dword [0x1002bc34]
push 0x10026808
push 0x66
push esi
movdqa xmmword [0x1002bc50], 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 0x100019b1
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 0x100019b1
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100019b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x14], eax
jmp 0x100019b3
xor esi, esi
push esi
call fcn.10006d9c
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], edi
push esi
push dword [esp + 0x18]
push edi
call fcn.10009870
add esp, 0xc
mov edx, esi
mov ecx, edi
push dword [edi]
call fcn.10006d30
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 + 0x24], eax
mov edx, dword [eax + ecx]
mov dword [esp + 0xa0], edx
call fcn.10006d9c
add esp, 4
mov dword [esp + 0x18], eax
push esi
mov esi, eax
push edi
push esi
call fcn.10009870
add esp, 0xc
test esi, esi
je 0x10001fe0
mov edi, dword [esp + 0x20]
test edi, edi
je 0x10001fe0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 4]
add eax, edi
je 0x10001fe0
mov edx, dword [esp + 0x9c]
push ecx
mov ecx, eax
call fcn.10006cb0
mov ecx, dword [esi]
add esp, 4
mov eax, dword [esi + 4]
mov edx, ecx
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
call fcn.100013e0
push eax
mov edx, str.clink
mov byte [esp + 0x18c], 1
lea ecx, [esp + 0xe8]
call fcn.10002bf0
add esp, 4
push str..exe
mov edx, eax
mov byte [esp + 0x18c], 2
lea ecx, [esp + 0x100]
call fcn.10002c80
add esp, 4
cmp dword [esp + 0xf8], 0x10
jb 0x10001abc
push dword [esp + 0xe4]
call fcn.10007830
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 + 0x38], 0x10
jb 0x10001af5
push dword [esp + 0x24]
call fcn.10007830
add esp, 4
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.100013e0
push eax
mov edx, str.clinkMsg
mov byte [esp + 0x18c], 6
lea ecx, [esp + 0xa0]
call fcn.10002bf0
add esp, 4
push str..exe
mov edx, eax
mov byte [esp + 0x18c], 7
lea ecx, [esp + 0x118]
call fcn.10002c80
add esp, 4
cmp dword [esp + 0xb0], 0x10
jb 0x10001b6e
push dword [esp + 0x9c]
call fcn.10007830
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 + 0x50], 0x10
jb 0x10001ba7
push dword [esp + 0x3c]
call fcn.10007830
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x104]
mov dword [esp + 0x58], 0xf
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], 0
mov byte [esp + 0xc0], 0
call fcn.10002400
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.10002400
mov byte [esp + 0x188], 0xc
lea ecx, [esp + 0xb4]
cmp dword [esp + 0xc8], 0x10
cmovae ecx, dword [esp + 0xb4]
call fcn.100045e0
test al, al
jne 0x10001c5e
mov byte [esp + 0x13], al
jmp 0x10001cb2
cmp dword [esp + 0xc8], 0x10
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x9c]
cmovae edx, dword [esp + 0xb4]
call fcn.10004780
mov esi, dword [esp + 0x9c]
test esi, esi
jne 0x10001c93
mov byte [esp + 0x13], 0
jmp 0x10001cb2
push dword [esp + 0xa0]
push esi
push dword [esp + 0x1c]
push edi
call fcn.10001510
push esi
mov byte [esp + 0x27], al
call fcn.10007f20
add esp, 0x14
cmp dword [esp + 0x18], 0
jne 0x10001d10
cmp dword [esp + 0xe0], 0x10
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
call fcn.100045e0
test al, al
je 0x10001d10
cmp dword [esp + 0xe0], 0x10
lea edx, [esp + 0xcc]
lea ecx, [esp + 0x9c]
cmovae edx, dword [esp + 0xcc]
call fcn.10004780
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x10001d10
push eax
call fcn.10007f20
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x10001d80
sub esp, 0x18
lea eax, [esp + 0x114]
mov ecx, esp
push eax
call fcn.10002110
call fcn.10006ac0
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.100049c0
add esp, 0xc
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x18c], 0xd
call fcn.100020b0
lea ecx, [esp + 0x54]
call fcn.10002060
push dword [esp + 0x1c]
call fcn.10007f20
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.10002400
lea ecx, [esp + 0xfc]
call fcn.100068e0
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 0x10001e43
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xbc]
mov ecx, 0x1002a5c0
push eax
call fcn.10002400
push 0
push 0
push 0
push 0x10001890
push 0
push 0
call edi
cmp dword [esp + 0x18], 0
jne 0x10001ef7
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.10002110
lea ecx, [esp + 0xb4]
call fcn.100068e0
mov eax, dword [esp + 0xb8]
add esp, 0x18
sub eax, dword [esp + 0x9c]
test eax, 0xfffffffc
jne 0x10001eeb
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xd4]
mov ecx, 0x1002a5d8
push eax
call fcn.10002400
push 0
push 0
push 0
push 0x100018b0
push 0
push 0
call edi
lea ecx, [esp + 0x9c]
call fcn.100021a0
test esi, esi
je 0x10001f04
push esi
call fcn.10007830
add esp, 4
cmp dword [esp + 0xe0], 0x10
jb 0x10001f1d
push dword [esp + 0xcc]
call fcn.10007830
add esp, 4
cmp dword [esp + 0xc8], 0x10
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], 0
mov byte [esp + 0xcc], 0
jb 0x10001f54
push dword [esp + 0xb4]
call fcn.10007830
add esp, 4
cmp dword [esp + 0x128], 0x10
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
jb 0x10001f8b
push dword [esp + 0x114]
call fcn.10007830
add esp, 4
cmp dword [esp + 0x110], 0x10
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], 0
mov byte [esp + 0x114], 0
jb 0x10001fc2
push dword [esp + 0xfc]
call fcn.10007830
add esp, 4
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
cmp dword [esp + 0x15c], 0x10
jb 0x10001ff9
push dword [esp + 0x148]
call fcn.10007830
add esp, 4
cmp dword [esp + 0x144], 0x10
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x158], 0
mov byte [esp + 0x148], 0
jb 0x10002030
push dword [esp + 0x130]
call fcn.10007830
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.10007821
mov esp, ebp
pop ebp
ret