Function at 0x10015c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f5f1
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 0x10015d4a
mov edi, dword [eax]
test edi, edi
je 0x10015e6d
push 0xc
call fcn.10002384
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10015cb5
push 0x10045fa4
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 0x10015e59
jmp 0x10015cb7
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], esi
test esi, esi
je 0x10015e63
mov dword [ebp - 4], 2
mov ecx, dword [ebx]
test ecx, ecx
je 0x10015cdc
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 0x10015d3b
mov eax, dword [esi]
test eax, eax
je 0x10015d19
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10015d30
push eax
call fcn.100026ce
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10002353
add esp, 8
test edi, edi
js 0x10015d4d
cmp dword [ebx], 0
jne 0x10015e45
jmp 0x10015d4d
mov edi, dword [ebp + 8]
push 0x1004601c
push 0x10046030
push dword [0x1007b040]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10015d93
mov edx, 0x86
push edi
push 0x76
lea ecx, [edx - 4]
call fcn.100150e0
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 [0x1007b040]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x1007b040]
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 0x10015e6d
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov ecx, dword [edi]
test ecx, ecx
je 0x10015e06
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 0x10015e3e
mov edx, 0x87
push eax
push 0x76
lea ecx, [edx - 5]
call fcn.100150e0
add esp, 8
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x10015d7c
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