Function at 0x437fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
movzx esi, word [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
shr ebx, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
inc ebx
movzx eax, bx
push esi
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x43807a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43807a
mov esi, eax
mov eax, dword [ebp + 0xc]
and eax, 0xf
movzx ecx, word [esi]
test ecx, ecx
mov ebx, dword [ebp + 8]
je 0x438051
mov edi, esi
add edi, 2
test eax, eax
je 0x43801a
lea esi, [edi + ecx*2]
movzx ecx, word [esi]
test ecx, ecx
je 0x438098
lea edi, [esi + 2]
cmp eax, 1
jne 0x438093
cmp cx, 4
jbe 0x438056
mov ebx, ecx
or ebx, 3
lea eax, [ebx*2 + 2]
push eax
mov dword [ebp - 0x10], ecx
call fcn.004dfb05
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add ebx, 0x80000001
mov dword [ecx + 8], ebx
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebx + 4], ecx
jmp 0x43805b
add esi, 2
jmp 0x438007
mov byte [ebx + 0xb], cl
mov eax, ebx
lea ecx, [esi + ecx*2]
add ecx, 2
movzx edx, word [edi]
mov word [eax], dx
add edi, 2
add eax, 2
cmp edi, ecx
jne 0x438061
mov word [eax], 0
mov eax, ebx
jmp 0x43808b
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movsd qword [eax], xmm0
mov dword [eax + 8], 0
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [edi + ecx*2]
jmp 0x43809b
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x4380b3
lea edi, [esi + 2]
cmp eax, 2
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x4380b6
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x4380ce
lea edi, [esi + 2]
cmp eax, 3
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x4380d1
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x4380e9
lea edi, [esi + 2]
cmp eax, 4
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x4380ec
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x438104
lea edi, [esi + 2]
cmp eax, 5
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x438107
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x43811f
lea edi, [esi + 2]
cmp eax, 6
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x438122
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x43813a
lea edi, [esi + 2]
cmp eax, 7
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x43813d
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x438155
lea edi, [esi + 2]
cmp eax, 8
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x438158
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x438170
lea edi, [esi + 2]
cmp eax, 9
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x438173
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x43818b
lea edi, [esi + 2]
cmp eax, 0xa
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x43818e
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x4381a6
lea edi, [esi + 2]
cmp eax, 0xb
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x4381a9
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x4381c1
lea edi, [esi + 2]
cmp eax, 0xc
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x4381c4
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x4381dc
lea edi, [esi + 2]
cmp eax, 0xd
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x4381df
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x4381f7
lea edi, [esi + 2]
cmp eax, 0xe
je 0x43801a
lea esi, [edi + ecx*2]
jmp 0x4381fa
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
je 0x43820e
cmp eax, 0xf
jne 0x43820e
lea edi, [esi + 2]
jmp 0x43801a
xorps xmm0, xmm0
movsd qword [ebx], xmm0
mov dword [ebx + 8], 0
jmp 0x438076