Function at 0x1002fb0
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push edi
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [0x100e6dc], eax
mov ecx, 0x23f
xor eax, eax
mov edi, 0x100dde0
rep stosd dword es:[edi], eax
mov ecx, 0xcb
xor eax, eax
mov edi, 0x100daa0
rep stosd dword es:[edi], eax
mov ecx, 0x41
xor eax, eax
mov edi, 0x100e720
rep stosd dword es:[edi], eax
mov dword [0x100e08c], 1
push 0x7f
push 0x100ddf4
push 0x1001384
call fcn.01005040
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003020
cmp dword [ebp - 0xc], 0x80
jbe 0x100303b
push 0
push 0x10
push 0
push 0
push 0x4b1
push 0
call fcn.01004e90
xor eax, eax
jmp 0x10032a9
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x100da7c], eax
mov ecx, dword [0x100da7c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 4
push 0x100e6d4
push 0x1001378
call fcn.01005040
test eax, eax
jne 0x1003095
push 0
push 0x10
push 0
push 0
push 0x4b1
push 0
call fcn.01004e90
mov dword [0x100e704], 0x80070714
xor eax, eax
jmp 0x10032a9
mov edx, dword [0x100e6d4]
and edx, 0x40
test edx, edx
jne 0x10030b4
mov eax, dword [0x100e6d4]
and eax, 0x80
test eax, eax
je 0x1003182
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0x1001368
call fcn.01005040
test eax, eax
jne 0x10030f3
push 0
push 0x10
push 0
push 0
push 0x4b1
push 0
call fcn.01004e90
mov dword [0x100e704], 0x80070714
xor eax, eax
jmp 0x10032a9
lea edx, [ebp - 0x114]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x100da80], eax
cmp dword [0x100da80], 0
je 0x1003182
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1003182
mov eax, dword [0x100e6d4]
and eax, 0x80
test eax, eax
je 0x1003146
push 0
push 0x10
push 0
push 0x100ddf4
push 0x54b
push 0
call fcn.01004e90
jmp 0x1003164
push 4
push 0x20
push 0
push 0x100ddf4
push 0x524
push 0
call fcn.01004e90
cmp eax, 6
jne 0x1003164
jmp 0x1003182
mov ecx, dword [0x100da80]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100e704], 0x800700b7
xor eax, eax
jmp 0x10032a9
mov dword [0x100e824], 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.01006eb0
test eax, eax
jne 0x10031b4
push 0
push 0x10
push 0
push 0
push 0x520
push 0
call fcn.01004e90
xor eax, eax
jmp 0x10032a9
movsx eax, byte [0x100daba]
test eax, eax
je 0x10031d0
push 0x100daba
call fcn.01002350
xor eax, eax
jmp 0x10032a9
push 0xa
push 0x100135c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003201
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [0x100d2f8], 0
je 0x1003210
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100daa4], 0
je 0x1003223
mov eax, 1
jmp 0x10032a9
mov edx, dword [ebp - 8]
push edx
call fcn.01003c90
test eax, eax
jne 0x1003234
xor eax, eax
jmp 0x10032a9
xor eax, eax
mov ax, word [0x100ec04]
cmp eax, 1
je 0x100324f
xor ecx, ecx
mov cx, word [0x100ec04]
cmp ecx, 2
jne 0x10032a4
mov edx, dword [0x100e6d4]
and edx, 0x100
test edx, edx
je 0x10032a4
xor eax, eax
mov ax, word [0x100dab8]
and eax, 1
test eax, eax
jne 0x10032a4
call fcn.010015e0
test eax, eax
jne 0x10032a4
push 0x83e
push 0x547
push 0x1001740
push 0
push 0x7d6
mov ecx, dword [0x100e6dc]
push ecx
call fcn.01007b80
cmp eax, 0x83d
je 0x10032a4
xor eax, eax
jmp 0x10032a9
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc