Function at 0x100608a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102bf4f5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], ecx
jne 0x100608e6
xor al, al
jmp 0x10060c77
lea esi, [ebx + 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], esi
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x1006090f
mov eax, dword [esi]
test eax, eax
je 0x1006090f
push eax
call edx
mov ecx, dword [ebp - 0x44]
mov edx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, 1
jne 0x10060a95
cmp dword [ebx + 0x18], 0
je 0x10060a95
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.10061c60
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24], 0
jne 0x1006095c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10018a30
jmp 0x10060b3c
push 4
mov dword [ebp - 0x14], 0
call fcn.102af9f4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
sub esp, 0xc
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x14]
push eax
call fcn.101151e0
test al, al
jne 0x100609e7
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x100609d0
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100609be
test eax, eax
je 0x100609be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 4
push edi
call fcn.102aff42
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10018a30
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10060b3c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.10115350
test al, al
jne 0x10060a24
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10060a16
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10060a16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10060a16
mov dword [edi], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10115110
jmp 0x100609d0
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
push ebx
call fcn.100623b0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x14]
push ebx
push dword [eax + 8]
call fcn.101152e0
test al, al
je 0x10060a70
cmp dword [ebp - 0x18], ebx
jne 0x10060a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10115110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10018a30
jmp 0x10060c58
lea ecx, [ebp - 0x14]
call fcn.10115320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10115110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10018a30
jmp 0x10060b3c
cmp eax, 2
jne 0x10060b3c
cmp dword [ebx + 0x28], 0
je 0x10060b3c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10060abf
mov eax, dword [esi]
test eax, eax
je 0x10060abf
push eax
call edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x10060ad0
mov eax, dword [ecx]
push eax
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x10060b24
push eax
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10060b24
push dword [ebp - 0x3c]
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10060b24
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x10060c1a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
test esi, esi
je 0x10060b3c
mov eax, dword [esi]
test eax, eax
je 0x10060b35
push eax
call edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10060b57
mov eax, dword [esi]
test eax, eax
je 0x10060b57
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
mov eax, dword [0x10372cf8]
test al, 1
jne 0x10060b95
or eax, 1
mov dword [0x10372cf8], eax
mov byte [ebp - 4], 6
mov ecx, 0x10372cfc
mov dword [0x10372cfc], 0
call sym.2345MiniUI.dll_protected:_void___thiscall_RC::RCMiniUIAppModule::constructor_void_
push 0x102d8d40
call fcn.102aff2d
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [0x10372cfc]
mov ebx, 0x10000000
mov eax, dword [eax + 0x44]
test eax, eax
cmovne ebx, eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x10060bb2
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x10060be4
mov byte [ebp - 4], 0
test esi, esi
je 0x10060be0
mov eax, dword [esi]
test eax, eax
je 0x10060bd9
push eax
call edi
mov dword [ebp - 0x14], 0
xor bl, bl
jmp 0x10060c5a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10060bc8
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10060bc8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x10060c1a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x10060bc8
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
call fcn.100623b0
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [eax + 8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
test esi, esi
je 0x10060c58
mov eax, dword [esi]
test eax, eax
je 0x10060c51
push eax
call edi
mov dword [ebp - 0x14], 0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10060c75
mov eax, dword [esi]
test eax, eax
je 0x10060c6e
push eax
call edi
mov dword [ebp - 0x1c], 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.102af9d5
mov esp, ebp
pop ebp
ret 0xc