Function at 0x10060ca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102bf4b6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
test edx, edx
jne 0x10060ce1
xor al, al
jmp 0x10060f15
lea esi, [ebx + 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov ecx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x10060d0a
mov eax, dword [esi]
test eax, eax
je 0x10060d0a
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, 1
jne 0x10060de6
cmp dword [ebx + 0x18], 0
je 0x10060d3e
push dword [ebp - 0x1c]
mov ecx, ebx
push edx
call fcn.10061580
mov bl, al
test bl, bl
jne 0x10060ef8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10060d59
mov eax, dword [esi]
test eax, eax
je 0x10060d59
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov eax, dword [0x10372d08]
test al, 1
jne 0x10060d97
or eax, 1
mov dword [0x10372d08], eax
mov byte [ebp - 4], 3
mov ecx, 0x10372d0c
mov dword [0x10372d0c], 0
call sym.2345MiniUI.dll_protected:_void___thiscall_RC::RCMiniUIAppModule::constructor_void_
push 0x102d8c90
call fcn.102afe8d
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x10372d0c]
mov ebx, 0x10000000
push 0x102ed5bc
mov eax, dword [eax + 0x44]
test eax, eax
cmovne ebx, eax
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x10060e8d
mov byte [ebp - 4], 0
test esi, esi
je 0x10060ddf
mov eax, dword [esi]
test eax, eax
je 0x10060dd8
push eax
call edi
mov dword [ebp - 0x14], 0
xor bl, bl
jmp 0x10060ef8
cmp eax, 2
jne 0x10060d3e
cmp dword [ebx + 0x28], 0
je 0x10060d3e
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10060e10
mov eax, dword [esi]
test eax, eax
je 0x10060e10
push eax
call ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push 0x102ed5bc
movzx eax, ax
push eax
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10060e51
mov byte [ebp - 4], 0
test esi, esi
je 0x10060d3e
mov eax, dword [esi]
test eax, eax
je 0x10060e45
push eax
call edi
mov dword [ebp - 0x14], 0
jmp 0x10060d3e
push eax
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10060e30
push dword [ebp - 0x20]
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10060e30
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x10060e88
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x10060e30
push dword [ebp - 0x24]
jmp 0x10060ece
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10060dc7
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10060dc7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x10060ecb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x10060dc7
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.10017030
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
test esi, esi
je 0x10060ef6
mov eax, dword [esi]
test eax, eax
je 0x10060eef
push eax
call edi
mov dword [ebp - 0x14], 0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10060f13
mov eax, dword [esi]
test eax, eax
je 0x10060f0c
push eax
call edi
mov dword [ebp - 0x18], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102af935
mov esp, ebp
pop ebp
ret 8