Function at 0x1013e73
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push 0xa
push dword [ebp + 8]
push dword [0x1028204]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1014089
push esi
push eax
push dword [0x1028204]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
mov dword [ebp - 0x20], esi
je 0x1014088
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
lea eax, [ebx + 0x86]
push 0x208
mov dword [ebp - 8], eax
call fcn.010054c2
mov edx, eax
test edx, edx
mov dword [0x10253c4], edx
jne 0x1013ee4
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1014087
push edi
mov esi, 0x80
xor eax, eax
mov ecx, esi
lea edi, [edx + 8]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebx + 6]
movsx edx, byte [eax]
cmp edx, ecx
jle 0x1013f01
mov ecx, edx
inc eax
dec esi
jne 0x1013ef8
movsx eax, word [ebx + 4]
imul eax, ecx
add eax, 4
push eax
call fcn.010054c2
test eax, eax
mov dword [ebp - 0x14], eax
je 0x101406b
movsx eax, word [ebx]
mov ecx, dword [0x10253c4]
and dword [ebp - 4], 0
mov dword [ecx], eax
movsx eax, word [ebx + 4]
mov ecx, dword [0x10253c4]
mov dword [ecx + 4], eax
mov dword [ebp + 8], 8
mov eax, dword [ebp - 4]
lea esi, [ebx + eax + 6]
cmp byte [esi], 0
mov dword [ebp - 0x1c], esi
je 0x1014025
push 0x25
call fcn.010054c2
mov ecx, dword [ebp + 8]
mov edx, dword [0x10253c4]
mov dword [ecx + edx], eax
mov eax, dword [0x10253c4]
mov eax, dword [ecx + eax]
test eax, eax
je 0x101405b
movsx ecx, word [ebx + 4]
push 0
push ecx
movsx ecx, byte [esi]
push ecx
push eax
call fcn.010045aa
test eax, eax
jne 0x101403b
movsx eax, byte [esi]
movsx ecx, word [ebx + 4]
imul eax, ecx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
inc eax
add dword [ebp - 8], eax
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov edx, ecx
shr ecx, 2
add edi, 3
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x10], 0
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx eax, byte [eax]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [0x10253c4]
mov eax, dword [ecx + eax]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 8]
neg edx
dec ecx
imul ecx, edx
sub eax, ecx
cmp word [ebx + 4], 0
mov dword [ebp - 0x18], eax
jle 0x1014025
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xc]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x18]
and ecx, 3
inc dword [ebp - 0x10]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0xc], ecx
movsx ecx, word [ebx + 4]
add eax, edx
cmp dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1013ff5
add dword [ebp + 8], 4
inc dword [ebp - 4]
cmp dword [ebp + 8], 0x208
jl 0x1013f43
jmp 0x101405b
mov esi, dword [ebp - 4]
mov eax, dword [0x10253c4]
lea esi, [esi*4 + 8]
push dword [esi + eax]
call fcn.01005541
mov eax, dword [0x10253c4]
and dword [esi + eax], 0
cmp dword [ebp - 4], 0x80
je 0x101407d
call fcn.01013e2e
jmp 0x101407d
push dword [0x10253c4]
call fcn.01005541
and dword [0x10253c4], 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
leave
ret 4