Function at 0x1003c5e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e4ff
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1006e024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x14], ebx
mov eax, ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp + 8], 0
jne 0x1003c6d8
mov esi, dword [eax]
test esi, esi
jne 0x1003c62c
push 0x80004003
call fcn.10003250
push 0x100449b4
lea ecx, [ebp + 8]
call fcn.10002ff0
mov edi, eax
mov dword [ebp - 4], 0
mov edx, dword [ebx]
test edx, edx
je 0x1003c64e
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov dword [ebx], 0
mov eax, dword [edi]
test eax, eax
je 0x1003c65e
mov ecx, dword [eax]
jmp 0x1003c660
xor ecx, ecx
mov eax, dword [esi]
push ebx
push ecx
push esi
call dword [eax + 0xb0]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x1003c6c9
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1003c6c2
test esi, esi
je 0x1003c6c2
mov eax, dword [esi]
test eax, eax
je 0x1003c6a0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003c6b7
push eax
call fcn.100034cc
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.100034be
add esp, 8
mov dword [ebp + 8], 0
test edi, edi
js 0x1003c6db
cmp dword [ebx], 0
jne 0x1003c7e7
jmp 0x1003c6db
mov edi, dword [ebp + 8]
push 0x100449d4
push 0x10044a28
push dword [0x10078ef8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1003c721
mov edx, 0x86
push edi
push 0x76
lea ecx, [edx - 4]
call fcn.1003c090
add esp, 8
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [0x10078ef8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x10078ef8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, eax
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
push edi
push ebx
push dword [esi + 0xc]
call fcn.10012fe0
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1003c78b
push 0x80004003
call fcn.10003250
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi]
test ecx, ecx
je 0x1003c79a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
mov dword [edi], 0
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xb4]
test eax, eax
jns 0x1003c7e0
mov edx, 0x87
push eax
push 0x76
lea ecx, [edx - 5]
call fcn.1003c090
add esp, 8
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret