Function at 0x1003cbd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f536
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10070024]
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 0x1003ccea
mov edi, dword [eax]
test edi, edi
je 0x1003ce0d
push 0xc
call fcn.10002353
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x1003cc55
push 0x10045f84
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x1003cdf9
jmp 0x1003cc57
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], esi
test esi, esi
je 0x1003ce03
mov dword [ebp - 4], 2
mov ecx, dword [ebx]
test ecx, ecx
je 0x1003cc7c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 1
push ebx
mov dword [ebx], 0
push dword [esi]
mov eax, dword [edi]
push edi
call dword [eax + 0xb0]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1003ccdb
mov eax, dword [esi]
test eax, eax
je 0x1003ccb9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003ccd0
push eax
call fcn.100026ce
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10002383
add esp, 8
test edi, edi
js 0x1003cced
cmp dword [ebx], 0
jne 0x1003cde5
jmp 0x1003cced
mov edi, dword [ebp + 8]
push 0x10045fb0
push 0x10045fc4
push dword [0x1007b030]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1003cd33
mov edx, 0x86
push edi
push 0x76
lea ecx, [edx - 4]
call fcn.1003c080
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 [0x1007b030]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x1007b030]
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.10004ee0
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003ce0d
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov ecx, dword [edi]
test ecx, ecx
je 0x1003cda6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 3
push edi
mov dword [edi], 0
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xb4]
test eax, eax
jns 0x1003cdde
mov edx, 0x87
push eax
push 0x76
lea ecx, [edx - 5]
call fcn.1003c080
add esp, 8
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1003cd1c
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
push 0x8007000e
call fcn.10002130
push 0x8007000e
call fcn.10002130
push 0x80004003
call fcn.10002130
int3