Function at 0x10007f47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x1000cbba
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10016114]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
xor ebx, ebx
mov edi, dword [ebp + 0x410]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1000812f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10007fbd
sub ecx, edx
sar ecx, 1
push 2
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10002283
add esp, 0xc
test eax, eax
js 0x1000812f
mov esi, dword [ebp - 0x14]
cmp esi, 0x400
jg 0x1000800d
push esi
call fcn.10009d34
pop ecx
test al, al
je 0x1000800d
mov eax, esi
call fcn.1000b770
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10008016
push esi
lea ecx, [ebp - 0x20]
call fcn.10003b19
push 3
push esi
push edi
push eax
call fcn.1000bb8b
mov esi, eax
test esi, esi
je 0x1000812c
push 0x60
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x1000805c
push 2
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x1000805c
call fcn.10003e11
mov esi, eax
jmp 0x1000811a
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x10008079
call fcn.10003e11
jmp 0x1000810d
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000806f
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100080a3
mov esi, 0x8007000e
jmp 0x1000810f
push 1
push eax
mov byte [ebp - 4], 2
call fcn.1000bb8b
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x100080c3
push eax
lea ecx, [ebp]
call fcn.10003b44
jmp 0x100080d9
lea eax, [ebp + 4]
mov dword [ebp], eax
jmp 0x100080d9
cmp dword [ebp], 0
mov dword [ebp - 4], 1
je 0x1000809c
push esi
push dword [ebp - 0x18]
push esi
push dword [ebp]
call fcn.1000a173
mov eax, dword [ebp]
lea ecx, [ebp - 0x28]
add esp, 0x10
mov byte [eax + esi], bl
push dword [ebp + 0x41c]
push dword [ebp]
call fcn.10007e1f
mov esi, eax
test edi, edi
je 0x1000811a
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10008143
lea ecx, [ebp]
call fcn.100056de
jmp 0x10008143
mov ebx, dword [ebp]
lea eax, [ebp + 4]
cmp ebx, eax
je 0x1000813e
lea ecx, [ebp]
call fcn.100056de
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.100028d4
mov eax, esi
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.1000b5fc
add ebp, 0x408
leave
ret 0x10