Function at 0x4377a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
test esi, esi
je 0x4379e9
call fcn.00421fbe
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 0x4379e5
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4379e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4379e5
movzx eax, word [ebx + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040df1d
mov dword [ebp - 8], eax
pop ecx
test eax, eax
je 0x4379e9
movzx eax, word [ebx + 2]
movzx ecx, word [ebx + 4]
mov dword [ebp - 0x18], eax
add eax, 6
mov dword [ebp - 0x14], ecx
add ecx, 6
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], ecx
je 0x437851
mov edx, dword [edi + 0xc30]
jmp 0x437857
mov edx, dword [0x5e1e10]
test edx, edx
jne 0x4378d2
call fcn.00419133
fld1
cmp dword [eax + 0x1e8], 0
je 0x437873
fld qword [eax + 0x1e0]
jmp 0x437875
fld st(0)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4378cc
call fcn.00419133
cmp dword [eax + 0x1e8], 0
je 0x437894
fld qword [eax + 0x1e0]
jmp 0x437896
fld1
fild dword [ebp - 0x24]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul st(1)
fld qword [0x586eb0]
fadd st(1), st(0)
fxch st(1)
call fcn.00551140
fild dword [ebp - 0x20]
mov dword [ebp - 4], eax
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmulp st(2)
faddp st(1)
call fcn.00551140
mov ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x4378cf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp dword [ebp + 0x10], 0
je 0x4378eb
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push eax
mov ecx, edi
call fcn.0043d4fc
jmp 0x43790b
mov ecx, 0x5e1f00
call fcn.00436e8c
test eax, eax
jne 0x43790b
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push eax
call fcn.0043d87e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
cmp dword [ecx + 4], 0
jne 0x43791e
mov dword [ecx + 4], esi
cmp dword [edi + 0xd18], 0
jne 0x437947
mov eax, dword [edi]
push dword [ebp + 0x10]
push ecx
mov esi, dword [eax + 0x334]
mov ecx, esi
call dword [0x5819e0]
mov ecx, edi
call esi
test eax, eax
je 0x4379d2
mov eax, dword [edi + 0xc04]
xor esi, esi
mov dword [ebp - 0x14], eax
xor eax, eax
cmp ax, word [ebx + 6]
jae 0x43799c
mov edx, dword [ebp - 8]
lea ecx, [ebx + 8]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x10], 0
movzx eax, word [ecx]
mov dword [edx + esi*4], eax
jne 0x43798a
test eax, eax
je 0x43798a
push eax
mov ecx, 0x5da4a4
call fcn.0043315c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov dword [eax], edi
inc edi
movzx eax, word [ebx + 6]
inc esi
add ecx, 2
mov dword [ebp - 0x18], ecx
cmp esi, eax
jl 0x437966
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [edi + 0xd18], eax
xor eax, eax
inc eax
push eax
movzx eax, word [ebx + 6]
mov esi, dword [ecx + 0x33c]
mov ecx, esi
push eax
push dword [ebp - 8]
call dword [0x5819e0]
mov ecx, edi
call esi
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4379d2
and dword [edi + 0xd18], eax
push dword [ebp - 8]
call fcn.0040df18
mov eax, dword [ebp - 0x18]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x4379de
call fcn.0040e593
int3