Function at 0x10068d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x10128caf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx]
push edi
call dword [eax + 0x10]
call fcn.1011ffd6
mov esi, dword [eax + 0xc]
push 0x1014d490
push 0xa5
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push 0x400
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edi
call fcn.1011b24e
xor ebp, ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0xbc], ebp
call fcn.10116983
test edi, edi
mov byte [esp + 0xbc], 1
jne 0x10069049
mov ecx, dword [esp + 0xc4]
push ecx
lea ecx, [esp + 0x18]
call fcn.10002bc0
mov eax, dword [esp + 0x14]
push str..dat
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
mov byte [esp + 0xc8], 2
call fcn.10002370
lea edx, [esp + 0x24]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.10011850
add esp, 8
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xc8], 3
call fcn.10012f40
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 4
call fcn.10002a30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10068e4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10068e70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
call fcn.100691c0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push 0x40
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc8], 5
call fcn.10116c1b
test eax, eax
jne 0x10068fef
call fcn.10111836
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push ecx
mov dword [esp + 0x20], esp
mov edi, esp
push ecx
add eax, 0xfffffff0
mov bl, 6
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0xc8], bl
call fcn.10002370
add esp, 4
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.10012340
lea eax, [esp + 0x1c]
add esp, 8
push eax
call fcn.10011850
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x28]
push str._s:_Cant_find_plugin_data_file.___s_
push eax
mov byte [esp + 0xd4], 7
call fcn.10009090
mov esi, dword [esp + 0x30]
add esp, 0x18
push 0
push 0x30
push esi
call fcn.1011b1ca
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xbc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10068f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0xbc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10068f6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 2
mov dword [esp + 0x30], vtable.CFileException.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10068f9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10068fc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 0
call fcn.101169c2
lea ecx, [esp + 0x44]
mov dword [esp + 0xbc], 0xffffffff
call fcn.1011b635
xor eax, eax
jmp 0x1006912f
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea esi, [esp + 0x20]
mov byte [esp + 0xbc], 2
mov dword [esp + 0x30], vtable.CFileException.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10069021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100690a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x100690a9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebp
mov esi, eax
call fcn.10111759
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add esp, 4
mov ecx, edx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10067f50
mov eax, dword [esp + 0x10]
push 0
push ebp
push eax
lea ecx, [esp + 0x50]
call fcn.1011b2e1
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x44]
push 0
push 0x1000
push 1
push esi
lea ecx, [esp + 0x7c]
call fcn.10119a5d
push 1
lea esi, [ebx + 4]
push esi
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
mov byte [esp + 0xc8], 8
call fcn.10068590
test edi, edi
je 0x100690ec
lea ecx, [esp + 0x44]
call fcn.1011b31b
push ebp
call fcn.10111754
add esp, 4
mov eax, dword [esi]
xor edx, edx
test eax, eax
setne dl
lea ecx, [esp + 0x6c]
mov byte [esp + 0xbc], 1
mov esi, edx
call fcn.10119a18
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 0
call fcn.101169c2
lea ecx, [esp + 0x44]
mov dword [esp + 0xbc], 0xffffffff
call fcn.1011b635
mov eax, esi
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb0
ret 4