Function at 0x4b9bec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
test esi, esi
je 0x4b9e3c
call fcn.004a4868
push 0xf1
mov ebx, dword [eax + 0xc]
movzx eax, si
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4b9e38
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b9e38
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4b9e38
movzx eax, word [ebx + 6]
push 4
pop ecx
mul ecx
push 0xffffffffffffffff
pop ecx
cmovb eax, ecx
push eax
call fcn.004a44ac
mov dword [ebp - 0xc], eax
pop ecx
test eax, eax
je 0x4b9e3c
cmp dword [ebp + 0x10], 0
movzx ecx, word [ebx + 2]
movzx edx, word [ebx + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
lea eax, [ecx + 6]
mov dword [ebp - 8], eax
lea eax, [edx + 6]
mov dword [ebp - 4], eax
je 0x4b9c8f
mov eax, dword [edi + 0xc30]
jmp 0x4b9c94
mov eax, dword [0x6afed0]
test eax, eax
jne 0x4b9d16
call fcn.00485ab9
mov ecx, eax
call fcn.004ad916
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
ucomisd xmm0, qword [0x6762f0]
lahf
test ah, 0x44
jnp 0x4b9d0b
call fcn.00485ab9
mov ecx, eax
call fcn.004ad916
movd xmm0, dword [ebp - 8]
cvtdq2pd xmm0, xmm0
mov edx, dword [ebp - 0x14]
fstp qword [ebp - 0x20]
mulsd xmm0, qword [ebp - 0x20]
addsd xmm0, qword [0x61fa08]
cvttsd2si eax, xmm0
movd xmm0, dword [ebp - 4]
cvtdq2pd xmm0, xmm0
mov dword [ebp - 8], eax
mulsd xmm0, qword [ebp - 0x20]
addsd xmm0, qword [0x61fa08]
cvttsd2si ecx, xmm0
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
jmp 0x4b9d19
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
jmp 0x4b9d19
lea eax, [ecx + 6]
cmp dword [ebp + 0x10], 0
je 0x4b9d30
push 0
push edx
push ecx
push dword [ebp - 4]
mov ecx, edi
push eax
call fcn.004bfd53
jmp 0x4b9d53
movsd xmm0, qword [0x6b0058]
ucomisd xmm0, qword [0x6762f0]
lahf
test ah, 0x44
jp 0x4b9d53
push edx
push ecx
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004c0091
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
cmp dword [ecx + 4], 0
jne 0x4b9d66
mov dword [ecx + 4], esi
cmp dword [edi + 0xd18], 0
jne 0x4b9d8f
mov eax, dword [edi]
push dword [ebp + 0x10]
push ecx
mov esi, dword [eax + 0x334]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
test eax, eax
je 0x4b9e25
mov eax, dword [edi + 0xc04]
xor ecx, ecx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], ecx
cmp ax, word [ebx + 6]
jae 0x4b9def
mov esi, dword [ebp - 0xc]
lea edx, [ebx + 8]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0x10], 0
movzx eax, word [edx]
mov dword [esi + ecx*4], eax
jne 0x4b9dda
test eax, eax
je 0x4b9dda
mov esi, edi
mov ecx, 0x6a2534
push eax
inc edi
call fcn.004ae7bf
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax], esi
mov esi, dword [ebp - 0xc]
movzx eax, word [ebx + 6]
inc ecx
add edx, 2
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp ecx, eax
jl 0x4b9db1
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov dword [edi + 0xd18], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x33c]
xor eax, eax
inc eax
mov ecx, esi
push eax
movzx eax, word [ebx + 6]
push eax
push dword [ebp - 0xc]
call dword [0x617acc]
mov ecx, edi
call esi
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4b9e25
and dword [edi + 0xd18], eax
push dword [ebp - 0xc]
call fcn.00482e1b
mov eax, dword [ebp - 0x14]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x4b9e31
call fcn.004833e2
int3